mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-23 19:24:46 +00:00
(RGL PS3) Remove SRGB remap (unused)
This commit is contained in:
parent
f0d006dd6d
commit
caa653cc62
@ -355,8 +355,6 @@ extern "C" {
|
||||
//
|
||||
GLenum DrawBuffer, ReadBuffer;
|
||||
|
||||
GLboolean ShaderSRGBRemap;
|
||||
|
||||
GLboolean Blending; // enable for mrt color target 0
|
||||
GLenum BlendEquationRGB;
|
||||
GLenum BlendEquationAlpha;
|
||||
|
@ -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,
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user