src/render/opengl/SDL_shaders_gl.c
changeset 8969 7fb90df60b99
parent 8149 681eb46b8ac4
child 9046 c3ec7c3e6c24
     1.1 --- a/src/render/opengl/SDL_shaders_gl.c	Mon Jun 30 17:22:08 2014 -0700
     1.2 +++ b/src/render/opengl/SDL_shaders_gl.c	Thu Jul 03 10:22:12 2014 -0700
     1.3 @@ -133,7 +133,7 @@
     1.4  "uniform sampler2D tex2; // V \n"
     1.5  "\n"
     1.6  "// YUV offset \n"
     1.7 -"const vec3 offset = vec3(-0.0625, -0.5, -0.5);\n"
     1.8 +"const vec3 offset = vec3(-0.0627451017, -0.501960814, -0.501960814);\n"
     1.9  "\n"
    1.10  "// RGB coefficients \n"
    1.11  "const vec3 Rcoeff = vec3(1.164,  0.000,  1.596);\n"