diff options
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/main/shaderobj.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/shaderobj.h b/src/mesa/main/shaderobj.h index de1c9fcaf1e..aff178f2690 100644 --- a/src/mesa/main/shaderobj.h +++ b/src/mesa/main/shaderobj.h @@ -113,7 +113,7 @@ _mesa_shader_type_to_index(GLenum v) return MESA_SHADER_GEOMETRY; default: ASSERT(0 && "bad value in _mesa_shader_type_to_index()"); - return MESA_SHADER_TYPES; + return MESA_SHADER_VERTEX; } } |