[opengl/glut] glutswapbuffer
Hi peoples,
Performs a buffer swap on the layer in use for the current window. Specifically, glutSwapBuffers promotes the contents of the back buffer of the layer in use of the current window to become the contents of the front buffer. The contents of the back buffer then become undefined. The update typically takes place during the vertical retrace of the monitor, rather than immediately after glutSwapBuffers is called. An implicit glFlush is done by glutSwapBuffers before it returns.
Subsequent OpenGL commands can be issued immediately after calling glutSwapBuffers, but are not executed until the buffer exchange is completed.
my question is:
does openGL have a function that does the same?
if so how? if no what do i need to make my own?
regards narutolegend
quote: Original post by narutoNo. This is a part of the window-manager dependent implementation such as WGL or GLX. I don''t remember right now how they are called (wrapped them around), maybe give me some days to check the code.
does openGL have a function that does the same?
quote: Original post by naruto if no what do i need to make my own?Use the given library funcs. Period. You can''t avoid this (unless you reverse-engineer the driver).
Previously "Krohm"
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement