mojoshader_opengl.c
branchtrunk
changeset 339 4b1e0c45a6b8
parent 333 2b36a1d72fa1
child 340 04865e4df2f9
--- a/mojoshader_opengl.c	Thu May 29 12:27:24 2008 -0400
+++ b/mojoshader_opengl.c	Thu May 29 12:30:03 2008 -0400
@@ -998,7 +998,7 @@
     } // if
 
     ctx->glBindProgramARB(GL_VERTEX_PROGRAM_ARB, vhandle);
-    ctx->glBindProgramARB(GL_FRAGMENT_PROGRAM_ARB, vhandle);
+    ctx->glBindProgramARB(GL_FRAGMENT_PROGRAM_ARB, phandle);
 } // impl_GLSL_UseProgramObject