Temporarily revert "mesa: remove remaining FEATURE_* defines where protected by API check."
This reverts commit 9f37b405a3
.
Fixes windows builds.
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user