From 16284d0a591bcf0491b4618b9682de3b82be274e Mon Sep 17 00:00:00 2001 From: Gregory Hainaut Date: Sun, 7 Dec 2014 12:12:53 +0100 Subject: [PATCH] gsdx: fix a couple of typo From @micove --- plugins/GSdx/GSWndEGL.cpp | 2 +- plugins/GSdx/res/glsl_source.h | 2 +- plugins/GSdx/res/shadeboost.fx | 2 +- plugins/GSdx/res/shadeboost.glsl | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/GSdx/GSWndEGL.cpp b/plugins/GSdx/GSWndEGL.cpp index 1321753727..302eafa65c 100644 --- a/plugins/GSdx/GSWndEGL.cpp +++ b/plugins/GSdx/GSWndEGL.cpp @@ -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(); } diff --git a/plugins/GSdx/res/glsl_source.h b/plugins/GSdx/res/glsl_source.h index 29d9df3235..aa107b327a 100644 --- a/plugins/GSdx/res/glsl_source.h +++ b/plugins/GSdx/res/glsl_source.h @@ -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" diff --git a/plugins/GSdx/res/shadeboost.fx b/plugins/GSdx/res/shadeboost.fx index 890a68a948..375e032e58 100644 --- a/plugins/GSdx/res/shadeboost.fx +++ b/plugins/GSdx/res/shadeboost.fx @@ -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; diff --git a/plugins/GSdx/res/shadeboost.glsl b/plugins/GSdx/res/shadeboost.glsl index 8e61e7912f..8ac44c893d 100644 --- a/plugins/GSdx/res/shadeboost.glsl +++ b/plugins/GSdx/res/shadeboost.glsl @@ -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;