path: root/src/opengl
diff options
authorTor Arne Vestbø <>2018-08-06 13:11:07 +0200
committerTor Arne Vestbø <>2018-08-06 11:42:15 +0000
commit819cad6670fd5ae7f36bcae9750bb180e92cb206 (patch)
tree089f52bf2bd54132d9956b42cc9e44e5b1a4e188 /src/opengl
parent09d21c1decfdd58eba6c1aefe459793c5255922e (diff)
Be more explicit about the effects of swapBuffers() on the current context
Change-Id: I7ab9e4e7323d49cf19774bfd0c51f8516ecb842d Reviewed-by: Laszlo Agocs <>
Diffstat (limited to 'src/opengl')
1 files changed, 2 insertions, 1 deletions
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