mojoshader_opengl.c
branchtrunk
changeset 349 78d4cf1ecf0c
parent 347 f8d9d0ae6ba8
child 355 f42ca594e366
--- 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