Commit d5abb82d authored by Dmitry Kazakov's avatar Dmitry Kazakov
Browse files

Fix painting checkers on openGL mode

It was too optimistic to remove these two files in
29fe3ddc51b4b296b07586fe.

BUG:335647
parent d21b8e41
......@@ -6,6 +6,9 @@ install( FILES
matrix_transform.vert
matrix_transform_legacy.vert
simple_texture.frag
simple_texture_legacy.frag
highq_downscale_preface.frag.inc
highq_downscale_main.frag.inc
highq_downscale_main_ocio.frag.inc
......
#version 130
/*
* shader for handling scaling
*/
uniform sampler2D texture0;
in vec4 v_textureCoordinate;
out vec4 fragColor;
void main() {
fragColor = texture2D(texture0, v_textureCoordinate.st);
}
/*
* shader for handling scaling
*/
uniform sampler2D texture0;
varying mediump vec4 v_textureCoordinate;
void main() {
gl_FragColor = texture2D(texture0, v_textureCoordinate.st);
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment