1 Commits

Author SHA1 Message Date
a0960bd717 small fix for shaders 2025-10-16 17:36:09 +02:00

View File

@@ -109,7 +109,7 @@ void Backend_C3D::BindTexture(PD::LI::TexAddress addr) {
void Backend_C3D::RenderDrawData(
const PD::Vec<PD::LI::Command::Ref>& Commands) {
C3D_BindProgram(&Shader);
shaderProgramUse(&Shader);
C3D_SetAttrInfo(&ShaderInfo);
C3D_Mtx proj;
Mtx_OrthoTilt(&proj, 0.f, ViewPort.x, ViewPort.y, 0.f, 1.f, -1.f, false);