diff options
author | Ian Romanick <[email protected]> | 2013-06-27 18:20:30 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2013-06-28 13:35:22 -0700 |
commit | e6ec425d6eeac95f466174267b2c18c0bffca3f0 (patch) | |
tree | d9218254ef067c7ca3f1b27dca9c60f6a48d6a59 /src/mesa/main/getstring.c | |
parent | 9bc24b4fc4ee1eda60d4f4bde662f7a1d8474cc1 (diff) |
mesa: GL_ARB_shader_objects is not optional
This extension just provides some of the most basic software framework
for GLSL. Without GL_ARB_vertex_shader or GL_ARB_fragment_shader,
applications still cannot use GLSL. There's no value in
conditionalizing support for this extension.
NOTE: This has the side effect of enabling the extension in the radeon,
r200, and nouveau drivers.
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/main/getstring.c')
-rw-r--r-- | src/mesa/main/getstring.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mesa/main/getstring.c b/src/mesa/main/getstring.c index 1145d0f49f8..39fd260dcf7 100644 --- a/src/mesa/main/getstring.c +++ b/src/mesa/main/getstring.c @@ -41,11 +41,6 @@ shading_language_version(struct gl_context *ctx) switch (ctx->API) { case API_OPENGL_COMPAT: case API_OPENGL_CORE: - if (!ctx->Extensions.ARB_shader_objects) { - _mesa_error(ctx, GL_INVALID_ENUM, "glGetString"); - return (const GLubyte *) 0; - } - switch (ctx->Const.GLSLVersion) { case 110: return (const GLubyte *) "1.10"; |