Ignore:
Timestamp:
Mar 8, 2010, 12:52:58 PM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

trunk: Merged in qt 4.6.2 sources.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/opengl/qwindowsurface_gl.cpp

    r561 r651  
    11/****************************************************************************
    22**
    3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
     3** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
    44** All rights reserved.
    55** Contact: Nokia Corporation (qt-info@nokia.com)
     
    296296{
    297297    Q_ASSERT(window->isTopLevel());
    298     QGLExtensions::init();
    299298    d_ptr->pb = 0;
    300299    d_ptr->fbo = 0;
     
    521520    glDisable(GL_SCISSOR_TEST);
    522521
    523     if (d_ptr->fbo && (QGLExtensions::glExtensions & QGLExtensions::FramebufferBlit)) {
     522    if (d_ptr->fbo && (QGLExtensions::glExtensions() & QGLExtensions::FramebufferBlit)) {
    524523        const int h = d_ptr->fbo->height();
    525524
     
    699698
    700699    if (d_ptr->destructive_swap_buffers
    701         && (QGLExtensions::glExtensions & QGLExtensions::FramebufferObject)
     700        && (QGLExtensions::glExtensions() & QGLExtensions::FramebufferObject)
    702701        && (d_ptr->fbo || !d_ptr->tried_fbo)
    703702        && qt_gl_preferGL2Engine())
     
    713712        format.setTextureTarget(target);
    714713
    715         if (QGLExtensions::glExtensions & QGLExtensions::FramebufferBlit)
     714        if (QGLExtensions::glExtensions() & QGLExtensions::FramebufferBlit)
    716715            format.setSamples(8);
    717716
Note: See TracChangeset for help on using the changeset viewer.