diff options
author | Oliver McFadden <[email protected]> | 2012-09-11 11:13:07 +0300 |
---|---|---|
committer | Oliver McFadden <[email protected]> | 2012-09-15 12:57:49 +0300 |
commit | dda982f1a7f1b8f525894e01975e69b262696153 (patch) | |
tree | a3be7cd2da9af379822994613782f8250dffeab1 /src/mesa/main/shaderapi.c | |
parent | 88233b0bc301eb0ccdf23ffcb0245b3faad43b04 (diff) |
mesa: remove FEATURE_EXT_transform_feedback define.
Signed-off-by: Oliver McFadden <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/main/shaderapi.c')
-rw-r--r-- | src/mesa/main/shaderapi.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mesa/main/shaderapi.c b/src/mesa/main/shaderapi.c index 4ce02e6bf55..c2ec1fa428c 100644 --- a/src/mesa/main/shaderapi.c +++ b/src/mesa/main/shaderapi.c @@ -467,14 +467,12 @@ get_programiv(struct gl_context *ctx, GLuint program, GLenum pname, GLint *param struct gl_shader_program *shProg = _mesa_lookup_shader_program(ctx, program); -#if FEATURE_EXT_transform_feedback /* Is transform feedback available in this context? */ const bool has_xfb = (ctx->API == API_OPENGL && ctx->Extensions.EXT_transform_feedback) || ctx->API == API_OPENGL_CORE || _mesa_is_gles3(ctx); -#endif /* Are geometry shaders available in this context? */ @@ -534,7 +532,6 @@ get_programiv(struct gl_context *ctx, GLuint program, GLenum pname, GLint *param *params = max_len; return; } -#if FEATURE_EXT_transform_feedback case GL_TRANSFORM_FEEDBACK_VARYINGS: if (!has_xfb) break; @@ -550,7 +547,6 @@ get_programiv(struct gl_context *ctx, GLuint program, GLenum pname, GLint *param break; *params = shProg->TransformFeedback.BufferMode; return; -#endif case GL_GEOMETRY_VERTICES_OUT_ARB: if (!has_gs) break; |