mirror of https://github.com/PCSX2/pcsx2.git
parent
4b6632edf4
commit
16284d0a59
|
@ -80,7 +80,7 @@ void GSWndEGL::CreateContext(int major, int minor)
|
|||
if (status == EGL_BAD_ATTRIBUTE || status == EGL_BAD_MATCH) {
|
||||
// Radeon/Gallium don't support advance attribute. Fallback to random value
|
||||
// Note: Intel gives an EGL_BAD_MATCH. I don't know why but let's by stubborn and retry.
|
||||
fprintf(stderr, "EGL: warning your driver doesn't suport advance openGL context attributes\n");
|
||||
fprintf(stderr, "EGL: warning your driver doesn't support advance openGL context attributes\n");
|
||||
m_eglContext = eglCreateContext(m_eglDisplay, eglConfig, EGL_NO_CONTEXT, NullContextAttribs);
|
||||
status = eglGetError();
|
||||
}
|
||||
|
|
|
@ -419,7 +419,7 @@ static const char* shadeboost_glsl =
|
|||
" const float brt = SB_BRIGHTNESS / 50.0;\n"
|
||||
" const float con = SB_CONTRAST / 50.0;\n"
|
||||
" \n"
|
||||
" // Increase or decrease theese values to adjust r, g and b color channels seperately\n"
|
||||
" // Increase or decrease these values to adjust r, g and b color channels seperately\n"
|
||||
" const float AvgLumR = 0.5;\n"
|
||||
" const float AvgLumG = 0.5;\n"
|
||||
" const float AvgLumB = 0.5;\n"
|
||||
|
|
|
@ -13,7 +13,7 @@ float4 ContrastSaturationBrightness(float4 color) // Ported to HLSL
|
|||
const float brt = SB_BRIGHTNESS / 50.0;
|
||||
const float con = SB_CONTRAST / 50.0;
|
||||
|
||||
// Increase or decrease theese values to adjust r, g and b color channels seperately
|
||||
// Increase or decrease these values to adjust r, g and b color channels seperately
|
||||
const float AvgLumR = 0.5;
|
||||
const float AvgLumG = 0.5;
|
||||
const float AvgLumB = 0.5;
|
||||
|
|
|
@ -43,7 +43,7 @@ vec4 ContrastSaturationBrightness(vec4 color)
|
|||
const float brt = SB_BRIGHTNESS / 50.0;
|
||||
const float con = SB_CONTRAST / 50.0;
|
||||
|
||||
// Increase or decrease theese values to adjust r, g and b color channels seperately
|
||||
// Increase or decrease these values to adjust r, g and b color channels seperately
|
||||
const float AvgLumR = 0.5;
|
||||
const float AvgLumG = 0.5;
|
||||
const float AvgLumB = 0.5;
|
||||
|
|
Loading…
Reference in New Issue