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/gui/egl/qeglproperties.cpp

    r651 r769  
    4040****************************************************************************/
    4141
    42 #include "qeglproperties_p.h"
    43 
    44 QT_BEGIN_NAMESPACE
    45 
    4642#include <QtCore/qdebug.h>
    4743#include <QtCore/qstringlist.h>
     44
     45#include "qeglproperties_p.h"
     46
     47QT_BEGIN_NAMESPACE
    4848
    4949#include "qegl_p.h"
     
    6161    for (int name = 0x3020; name <= 0x304F; ++name) {
    6262        EGLint value;
    63         if (name != EGL_NONE && eglGetConfigAttrib(QEglContext::defaultDisplay(0), cfg, name, &value))
     63        if (name != EGL_NONE && eglGetConfigAttrib(QEglContext::display(), cfg, name, &value))
    6464            setValue(name, value);
    6565    }
     
    274274{
    275275    EGLint count = 0;
    276     eglGetConfigs(QEglContext::defaultDisplay(0), 0, 0, &count);
     276    eglGetConfigs(QEglContext::display(), 0, 0, &count);
    277277    if (count < 1)
    278278        return;
    279279
    280280    EGLConfig *configs = new EGLConfig [count];
    281     eglGetConfigs(QEglContext::defaultDisplay(0), configs, count, &count);
     281    eglGetConfigs(QEglContext::display(), configs, count, &count);
    282282    for (EGLint index = 0; index < count; ++index)
    283283        qWarning() << QEglProperties(configs[index]).toString();
Note: See TracChangeset for help on using the changeset viewer.