Fixed typo in QOpenGLContext warning message.
Change-Id: I967279f4b4875ae80ce45744d559fc7380bc0125 Reviewed-by: Kim M. Kalland <kim.kalland@nokia.com>
This commit is contained in:
parent
16c4224568
commit
dbe89db686
@ -289,7 +289,7 @@ bool QOpenGLContext::makeCurrent(QSurface *surface)
|
|||||||
return false;
|
return false;
|
||||||
|
|
||||||
if (surface->surfaceType() != QSurface::OpenGLSurface) {
|
if (surface->surfaceType() != QSurface::OpenGLSurface) {
|
||||||
qWarning() << "QOpenGLContext::makeBuffers() called with non-opengl surface";
|
qWarning() << "QOpenGLContext::makeCurrent() called with non-opengl surface";
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user