mojoshader.h
branchtrunk
changeset 145 5325c8d6077c
parent 113 8ebf445c5305
child 146 9a0d4707feb8
--- a/mojoshader.h	Fri Apr 18 22:00:19 2008 -0400
+++ b/mojoshader.h	Sat Apr 19 01:31:47 2008 -0400
@@ -170,10 +170,10 @@
     /*
      * (uniform_count) elements of data that specify Uniforms to be set for
      *  this shader. See discussion on MOJOSHADER_uniform for details.
+     * This can be NULL on error or if (uniform_count) is zero.
      */
     MOJOSHADER_uniform *uniforms;
 
-
     /*
      * The number of elements pointed to by (attributes).
      */
@@ -182,6 +182,7 @@
     /*
      * (attribute_count) elements of data that specify Attributes to be set
      *  for this shader. See discussion on MOJOSHADER_attribute for details.
+     * This can be NULL on error or if (attribute_count) is zero.
      */
     MOJOSHADER_attribute *attributes;