| Index: client/deps/glbench/src/yuv2rgb_2.glslv
|
| diff --git a/client/deps/glbench/src/yuv2rgb_2.glslv b/client/deps/glbench/src/yuv2rgb_2.glslv
|
| index 61575256a21a9385a2b47dd1889bfd95b81d2511..9af7ecab48cef15283fa1368a03ca3a2fde32f37 100644
|
| --- a/client/deps/glbench/src/yuv2rgb_2.glslv
|
| +++ b/client/deps/glbench/src/yuv2rgb_2.glslv
|
| @@ -2,8 +2,6 @@ uniform float imageHeight;
|
|
|
| attribute vec4 c;
|
|
|
| -#define I915_WORKAROUND 1
|
| -
|
| varying vec2 lineCounter;
|
| varying vec2 yPlane;
|
| varying vec2 uPlane;
|
| @@ -11,7 +9,7 @@ varying vec2 vPlane;
|
|
|
| void main() {
|
| gl_Position = c;
|
| -#if I915_WORKAROUND
|
| +#if defined(I915_WORKAROUND)
|
| gl_TexCoord[0].xy = vec2(c.y * imageHeight / 4.0, 0.0);
|
| gl_TexCoord[0].zw = vec2(c.x, (2.0 * c.y + 1.0) / 3.0);
|
| gl_TexCoord[1].xy = vec2(c.x / 2.0, (c.y + 1.0) / 6.0);
|
|
|