From 819cad6670fd5ae7f36bcae9750bb180e92cb206 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tor=20Arne=20Vestb=C3=B8?= Date: Mon, 6 Aug 2018 13:11:07 +0200 Subject: Be more explicit about the effects of swapBuffers() on the current context Change-Id: I7ab9e4e7323d49cf19774bfd0c51f8516ecb842d Reviewed-by: Laszlo Agocs --- src/opengl/qgl.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/opengl/qgl.cpp') diff --git a/src/opengl/qgl.cpp b/src/opengl/qgl.cpp index 1132411d42..e136ddcff2 100644 --- a/src/opengl/qgl.cpp +++ b/src/opengl/qgl.cpp @@ -3603,7 +3603,8 @@ void QGLContext::makeCurrent() \fn void QGLContext::swapBuffers() const Call this to finish a frame of OpenGL rendering, and make sure to - call makeCurrent() again before you begin a new frame. + call makeCurrent() again before issuing any further OpenGL commands, + for example as part of a new frame. */ void QGLContext::swapBuffers() const { -- cgit v1.2.1