summaryrefslogtreecommitdiffstats
path: root/src/platformsupport/eglconvenience/qeglconvenience.cpp
diff options
context:
space:
mode:
authorGirish Ramakrishnan <girish.1.ramakrishnan@nokia.com>2012-05-29 21:01:14 -0700
committerQt by Nokia <qt-info@nokia.com>2012-05-30 06:29:10 +0200
commit56fca8ce14c525b7db449e3186c772f1371b3606 (patch)
tree4e8f95721292dae5a85916b6cb0058e3ae63ff62 /src/platformsupport/eglconvenience/qeglconvenience.cpp
parent46ae50a5d03ac8cecbe2ddb335a7b1767d98fc12 (diff)
Fix compile error in eglconvenience
Change-Id: Ic20d890a9c59e21a5f0c81f961074ab02083a266 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com> Reviewed-by: Sergio Ahumada <sergio.ahumada@nokia.com>
Diffstat (limited to 'src/platformsupport/eglconvenience/qeglconvenience.cpp')
-rw-r--r--src/platformsupport/eglconvenience/qeglconvenience.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/platformsupport/eglconvenience/qeglconvenience.cpp b/src/platformsupport/eglconvenience/qeglconvenience.cpp
index 2cd5da2493..32c7a44730 100644
--- a/src/platformsupport/eglconvenience/qeglconvenience.cpp
+++ b/src/platformsupport/eglconvenience/qeglconvenience.cpp
@@ -347,12 +347,12 @@ static struct AttrInfo attrs[] = {
{EGL_MAX_SWAP_INTERVAL, "EGL_MAX_SWAP_INTERVAL"},
{-1, 0}};
-void q_printEglConfig(EGLConfig config)
+void q_printEglConfig(EGLDisplay display, EGLConfig config)
{
EGLint index;
for (index = 0; attrs[index].attr != -1; ++index) {
EGLint value;
- if (eglGetConfigAttrib(m_dpy, config, attrs[index].attr, &value)) {
+ if (eglGetConfigAttrib(display, config, attrs[index].attr, &value)) {
qWarning("\t%s: %d\n", attrs[index].name, (int)value);
}
}