Be more explicit about the effects of swapBuffers() on the current context
Change-Id: I7ab9e4e7323d49cf19774bfd0c51f8516ecb842d Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>bb10
parent
09d21c1dec
commit
819cad6670
|
|
@ -1078,7 +1078,8 @@ QSurface *QOpenGLContext::surface() const
|
|||
Swap the back and front buffers of \a surface.
|
||||
|
||||
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 QOpenGLContext::swapBuffers(QSurface *surface)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue