Fixed cut-and-paste error (thanks, Nicholas!). trunk
authorRyan C. Gordon <icculus@icculus.org>
Mon, 02 Jun 2008 16:36:52 -0400
branchtrunk
changeset 349 78d4cf1ecf0c
parent 348 dbb278bdba57
child 350 c99ace01b904
Fixed cut-and-paste error (thanks, Nicholas!).
mojoshader_opengl.c
--- a/mojoshader_opengl.c	Mon Jun 02 14:00:30 2008 -0400
+++ b/mojoshader_opengl.c	Mon Jun 02 16:36:52 2008 -0400
@@ -987,7 +987,7 @@
             consts = pshader->parseData->constant_count;
 
         lookup_uniforms(retval, pshader);
-        lookup_samplers(retval, vshader);
+        lookup_samplers(retval, pshader);
         pshader->refcount++;
     } // if