mojoshader_opengl.c
branchtrunk
changeset 241 08f612343cd1
parent 238 e98f14da2897
child 242 c3c5693ba179
--- a/mojoshader_opengl.c	Mon Apr 28 07:22:27 2008 -0400
+++ b/mojoshader_opengl.c	Mon Apr 28 07:23:38 2008 -0400
@@ -677,6 +677,7 @@
 
     switch (type)
     {
+        case MOJOSHADER_ATTRIBUTE_UNKNOWN: return GL_NONE;  // oh well.
         case MOJOSHADER_ATTRIBUTE_BYTE: return GL_NONE;  // oh well.
         case MOJOSHADER_ATTRIBUTE_UBYTE: return GL_NONE;  // oh well.
         case MOJOSHADER_ATTRIBUTE_SHORT: return GL_SHORT;
@@ -696,6 +697,7 @@
 {
     switch (type)
     {
+        case MOJOSHADER_ATTRIBUTE_UNKNOWN: return GL_NONE; // oh well.
         case MOJOSHADER_ATTRIBUTE_BYTE: return GL_BYTE;
         case MOJOSHADER_ATTRIBUTE_UBYTE: return GL_UNSIGNED_BYTE;
         case MOJOSHADER_ATTRIBUTE_SHORT: return GL_SHORT;