Advertisement

Buffer flipping

Started by September 01, 2001 05:41 AM
2 comments, last by Ertai 23 years, 5 months ago
I all the NeHe tutorials ( wich are great btw ! ) flipping the screen buffers is handled by windows . Is there no way to let OpenGL handle this or something?
Stefan
Could anyone reply please ? What i want might not be possible in a windowed app, but i think it is in a fullscreen app...

I just want to make a fullscreen app wich uses a minimum of windows API calls ( just to make a window and that''s it actually )

Is it possible to handle flipping by openGL ??
Stefan
Advertisement
http://www.opengl.org
http://romka.demonews.com/opengl/doc/opengl_win_x_eng.htm

Search for "flip" or "swap buffer"

Jason
The Glut screen libraries have such a function,I do not know how it is done in the regular Windows API/DirectWhatever.

void glutSwapBuffers(void). This function performs a flush of the OpenGL pipeline and does a buffer swap. Please use glutDisplayFunc first to set the window in double-buffered mode.

Best regards
JohnE

This topic is closed to new replies.

Advertisement