Fix warning

qxcbnativeinterface.cpp:209:8: warning: unused parameter ‘context’
[-Wunused-parameter]

Change-Id: I0c90e94020907cf84626af9f3fef3e6746182431
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
This commit is contained in:
Olivier Goffart 2012-04-30 14:32:35 +02:00 committed by Qt by Nokia
parent 40a73d7c63
commit 9420a7da7a

View File

@ -231,6 +231,7 @@ void * QXcbNativeInterface::eglContextForContext(QOpenGLContext *context)
return 0;
#endif
#else
Q_UNUSED(context)
return 0;
#endif
}