Ignore:
Timestamp:
Aug 2, 2010, 9:27:30 PM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

trunk: Merged in qt 4.6.3 sources from branches/vendor/nokia/qt.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/opengl/gl2paintengineex/qglengineshadermanager.cpp

    r651 r769  
    266266    do {
    267267        QByteArray source;
     268
     269
     270
     271
    268272        source.append(qShaderSnippets[prog.mainFragShader]);
    269273        source.append(qShaderSnippets[prog.srcPixelFragShader]);
    270         if (prog.srcPixelFragShader == CustomImageSrcFragmentShader)
    271             source.append(prog.customStageSource);
    272274        if (prog.compositionFragShader)
    273275            source.append(qShaderSnippets[prog.compositionFragShader]);
     
    766768    QGLContextPrivate* ctx_d = ctx->d_func();
    767769    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);
    770772
    771773    shaderProgNeedsChanging = false;
Note: See TracChangeset for help on using the changeset viewer.