diff --git a/ps3/rgl/include/RGL/Types.h b/ps3/rgl/include/RGL/Types.h index c206ad37db..0b93c4fab1 100644 --- a/ps3/rgl/include/RGL/Types.h +++ b/ps3/rgl/include/RGL/Types.h @@ -355,8 +355,6 @@ extern "C" { // GLenum DrawBuffer, ReadBuffer; - GLboolean ShaderSRGBRemap; - GLboolean Blending; // enable for mrt color target 0 GLenum BlendEquationRGB; GLenum BlendEquationAlpha; diff --git a/ps3/rgl/src/ps3/include/rgl-constants.h b/ps3/rgl/src/ps3/include/rgl-constants.h index 5e62cbfc70..9a99abbcef 100644 --- a/ps3/rgl/src/ps3/include/rgl-constants.h +++ b/ps3/rgl/src/ps3/include/rgl-constants.h @@ -113,7 +113,6 @@ typedef enum rglGcmEnum RGLGCM_BLEND = 0x0be0, RGLGCM_COLOR_LOGIC_OP = 0x0bf2, RGLGCM_DITHER = 0x0bd0, - RGLGCM_PSHADER_SRGB_REMAPPING = 0xff06, // glVertexAttribPointer RGLGCM_VERTEX_ATTRIB_ARRAY0 = 0x8650, diff --git a/ps3/rgl/src/ps3/rgl_ps3.cpp b/ps3/rgl/src/ps3/rgl_ps3.cpp index da674e98c1..ae4fb9d7e8 100644 --- a/ps3/rgl/src/ps3/rgl_ps3.cpp +++ b/ps3/rgl/src/ps3/rgl_ps3.cpp @@ -3705,8 +3705,6 @@ static void rglResetContext (void *data) LContext->DrawBuffer = LContext->ReadBuffer = GL_COLOR_ATTACHMENT0_EXT; - LContext->ShaderSRGBRemap = GL_FALSE; - LContext->Blending = GL_FALSE; LContext->BlendColor.R = 0.0f; LContext->BlendColor.G = 0.0f; @@ -3962,10 +3960,6 @@ GLAPI void APIENTRY glEnable( GLenum cap ) LContext->CurrentImageUnit->fragmentTarget ); LContext->needValidate |= RGL_VALIDATE_TEXTURES_USED; break; - case GL_SHADER_SRGB_REMAP_SCE: - LContext->ShaderSRGBRemap = GL_TRUE; - LContext->needValidate |= RGL_VALIDATE_SHADER_SRGB_REMAP; - break; case GL_BLEND: LContext->Blending = GL_TRUE; LContext->needValidate |= RGL_VALIDATE_BLENDING; @@ -3994,10 +3988,6 @@ GLAPI void APIENTRY glDisable( GLenum cap ) LContext->CurrentImageUnit->fragmentTarget ); LContext->needValidate |= RGL_VALIDATE_TEXTURES_USED; break; - case GL_SHADER_SRGB_REMAP_SCE: - LContext->ShaderSRGBRemap = GL_FALSE; - LContext->needValidate |= RGL_VALIDATE_SHADER_SRGB_REMAP; - break; case GL_BLEND: LContext->Blending = GL_FALSE; LContext->needValidate |= RGL_VALIDATE_BLENDING;