Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Assert of unknown GLSL shader type (thanks Kate!)
  • Loading branch information
flibitijibibo committed May 29, 2019
1 parent 56c8919 commit f90b01f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mojoshader_opengl.c
Expand Up @@ -386,6 +386,7 @@ static inline GLenum glsl_shader_type(const MOJOSHADER_shaderType t)
return GL_FRAGMENT_SHADER;

// !!! FIXME: geometry shaders?
assert(0 && "Unknown GLSL shader type!");
return GL_NONE;
} // glsl_shader_type

Expand Down

0 comments on commit f90b01f

Please sign in to comment.