summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/getstring.c
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2013-06-27 18:20:30 -0700
committerKenneth Graunke <kenneth@whitecape.org>2013-06-28 13:35:22 -0700
commite6ec425d6eeac95f466174267b2c18c0bffca3f0 (patch)
treed9218254ef067c7ca3f1b27dca9c60f6a48d6a59 /src/mesa/main/getstring.c
parent9bc24b4fc4ee1eda60d4f4bde662f7a1d8474cc1 (diff)
downloadexternal_mesa3d-e6ec425d6eeac95f466174267b2c18c0bffca3f0.zip
external_mesa3d-e6ec425d6eeac95f466174267b2c18c0bffca3f0.tar.gz
external_mesa3d-e6ec425d6eeac95f466174267b2c18c0bffca3f0.tar.bz2
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 <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Brian Paul <brianp@vmware.com>
Diffstat (limited to 'src/mesa/main/getstring.c')
-rw-r--r--src/mesa/main/getstring.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mesa/main/getstring.c b/src/mesa/main/getstring.c
index 1145d0f..39fd260 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";