src/opengl/gl2paintengineex/qglengineshadersource_p.h
changeset 25 e24348a560a6
parent 19 fcece45ef507
child 30 5dc02b23752f
equal deleted inserted replaced
23:89e065397ea6 25:e24348a560a6
   341     "}\n";
   341     "}\n";
   342 
   342 
   343 static const char* const qglslCustomSrcFragmentShader = "\n\
   343 static const char* const qglslCustomSrcFragmentShader = "\n\
   344     varying   highp   vec2      textureCoords; \n\
   344     varying   highp   vec2      textureCoords; \n\
   345     uniform   lowp    sampler2D imageTexture; \n\
   345     uniform   lowp    sampler2D imageTexture; \n\
   346     lowp vec4 customShader(lowp sampler2D texture, highp vec2 coords); \n\
       
   347     lowp vec4 srcPixel() \n\
   346     lowp vec4 srcPixel() \n\
   348     { \n\
   347     { \n\
   349         return customShader(imageTexture, textureCoords); \n\
   348         return customShader(imageTexture, textureCoords); \n\
   350     }\n";
   349     }\n";
   351 
   350