Assert of unknown GLSL shader type (thanks Kate!)
authorEthan Lee <flibitijibibo@flibitijibibo.com>
Wed, 29 May 2019 16:53:06 -0400
changeset 1207 c4a393403859
parent 1206 8073819b258d
child 1208 888630594fb5
Assert of unknown GLSL shader type (thanks Kate!)
mojoshader_opengl.c
--- a/mojoshader_opengl.c	Wed May 29 16:52:12 2019 -0400
+++ b/mojoshader_opengl.c	Wed May 29 16:53:06 2019 -0400
@@ -386,6 +386,7 @@
         return GL_FRAGMENT_SHADER;
 
     // !!! FIXME: geometry shaders?
+    assert(0 && "Unknown GLSL shader type!");
     return GL_NONE;
 } // glsl_shader_type