Changeset 769 for trunk/src/gui/egl/qeglproperties.cpp
- 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/gui/egl/qeglproperties.cpp
r651 r769 40 40 ****************************************************************************/ 41 41 42 #include "qeglproperties_p.h"43 44 QT_BEGIN_NAMESPACE45 46 42 #include <QtCore/qdebug.h> 47 43 #include <QtCore/qstringlist.h> 44 45 #include "qeglproperties_p.h" 46 47 QT_BEGIN_NAMESPACE 48 48 49 49 #include "qegl_p.h" … … 61 61 for (int name = 0x3020; name <= 0x304F; ++name) { 62 62 EGLint value; 63 if (name != EGL_NONE && eglGetConfigAttrib(QEglContext::d efaultDisplay(0), cfg, name, &value))63 if (name != EGL_NONE && eglGetConfigAttrib(QEglContext::display(), cfg, name, &value)) 64 64 setValue(name, value); 65 65 } … … 274 274 { 275 275 EGLint count = 0; 276 eglGetConfigs(QEglContext::d efaultDisplay(0), 0, 0, &count);276 eglGetConfigs(QEglContext::display(), 0, 0, &count); 277 277 if (count < 1) 278 278 return; 279 279 280 280 EGLConfig *configs = new EGLConfig [count]; 281 eglGetConfigs(QEglContext::d efaultDisplay(0), configs, count, &count);281 eglGetConfigs(QEglContext::display(), configs, count, &count); 282 282 for (EGLint index = 0; index < count; ++index) 283 283 qWarning() << QEglProperties(configs[index]).toString();
Note:
See TracChangeset
for help on using the changeset viewer.