summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/shaderapi.c
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2012-09-15 18:15:22 +0100
committerJosé Fonseca <jfonseca@vmware.com>2012-09-15 18:18:39 +0100
commitb6c2234c22d5a935012870fa254e68d026ef265e (patch)
tree46441ab3b3110cd9f9c600b821efee6be8feecc9 /src/mesa/main/shaderapi.c
parente78ebbc5f9448d459b57884d90b0a6496294c1dd (diff)
Temporarily revert "mesa: remove remaining FEATURE_* defines where protected by API check."
This reverts commit 9f37b405a3de8668a5f74c9681829688475ac3b7. Fixes windows builds.
Diffstat (limited to 'src/mesa/main/shaderapi.c')
-rw-r--r--src/mesa/main/shaderapi.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/main/shaderapi.c b/src/mesa/main/shaderapi.c
index 72a65d78e5c..c2ec1fa428c 100644
--- a/src/mesa/main/shaderapi.c
+++ b/src/mesa/main/shaderapi.c
@@ -1430,6 +1430,8 @@ _mesa_ValidateProgramARB(GLhandleARB program)
validate_program(ctx, program);
}
+#ifdef FEATURE_ES2
+
void GLAPIENTRY
_mesa_GetShaderPrecisionFormat(GLenum shadertype, GLenum precisiontype,
GLint* range, GLint* precision)
@@ -1502,6 +1504,8 @@ _mesa_ShaderBinary(GLint n, const GLuint* shaders, GLenum binaryformat,
_mesa_error(ctx, GL_INVALID_OPERATION, __FUNCTION__);
}
+#endif /* FEATURE_ES2 */
+
void GLAPIENTRY
_mesa_ProgramParameteriARB(GLuint program, GLenum pname, GLint value)