- 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/qglengineshadermanager.cpp
r651 r769 266 266 do { 267 267 QByteArray source; 268 269 270 271 268 272 source.append(qShaderSnippets[prog.mainFragShader]); 269 273 source.append(qShaderSnippets[prog.srcPixelFragShader]); 270 if (prog.srcPixelFragShader == CustomImageSrcFragmentShader)271 source.append(prog.customStageSource);272 274 if (prog.compositionFragShader) 273 275 source.append(qShaderSnippets[prog.compositionFragShader]); … … 766 768 QGLContextPrivate* ctx_d = ctx->d_func(); 767 769 ctx_d->setVertexAttribArrayEnabled(QT_VERTEX_COORDS_ATTR, true); 768 ctx_d->setVertexAttribArrayEnabled(QT_TEXTURE_COORDS_ATTR, currentShaderProg ->useTextureCoords);769 ctx_d->setVertexAttribArrayEnabled(QT_OPACITY_ATTR, currentShaderProg ->useOpacityAttribute);770 ctx_d->setVertexAttribArrayEnabled(QT_TEXTURE_COORDS_ATTR, currentShaderProg->useTextureCoords); 771 ctx_d->setVertexAttribArrayEnabled(QT_OPACITY_ATTR, currentShaderProg->useOpacityAttribute); 770 772 771 773 shaderProgNeedsChanging = false;
Note:
See TracChangeset
for help on using the changeset viewer.