Fixed cut-and-paste error. trunk
authorRyan C. Gordon <icculus@icculus.org>
Thu, 29 May 2008 12:30:03 -0400
branchtrunk
changeset 339 4b1e0c45a6b8
parent 338 fa828cd43079
child 340 04865e4df2f9
Fixed cut-and-paste error.
mojoshader_opengl.c
--- 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