OSDN Git Service

[Qt][OpenGL] Initial support of OpenGL 4.3 Core profile.
[csp-qt/common_source_project-fm7.git] / source / src / qt / gui / gl4_3 / fragment_shader.glsl
1 //precision mediump float;
2
3 in vec2 v_texcoord;
4 out vec4 opixel;
5
6 uniform sampler2D a_texture;
7 void main ()
8 {
9         vec4 pixel = texture(a_texture, v_texcoord);
10         opixel = pixel;
11 }