- Timestamp:
- Aug 2, 2010, 9:27:30 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/vendor/nokia/qt/4.6.3 (added) merged: 768 /branches/vendor/nokia/qt/current merged: 767 /branches/vendor/nokia/qt/4.6.2 removed
- Property svn:mergeinfo changed
-
trunk/src/opengl/gl2paintengineex/qglengineshadersource_p.h
r651 r769 332 332 uniform lowp sampler2D imageTexture; \n\ 333 333 lowp vec4 srcPixel() \n\ 334 { \n\ 335 return texture2D(imageTexture, textureCoords); \n\ 336 }\n"; 334 { \n" 335 #ifdef QT_OPENGL_ES_2 336 // work-around for driver bug 337 "return 1.0 * texture2D(imageTexture, textureCoords); \n" 338 #else 339 "return texture2D(imageTexture, textureCoords); \n" 340 #endif 341 "}\n"; 337 342 338 343 static const char* const qglslCustomSrcFragmentShader = "\n\ 339 344 varying highp vec2 textureCoords; \n\ 340 345 uniform lowp sampler2D imageTexture; \n\ 341 lowp vec4 customShader(lowp sampler2D texture, highp vec2 coords); \n\342 346 lowp vec4 srcPixel() \n\ 343 347 { \n\
Note:
See TracChangeset
for help on using the changeset viewer.