PDA

View Full Version : question about glFlush( void );



rosentzp
04-23-2003, 01:42 AM
Do I really need to call glFlush( void ); before SwapBuffers(..); after rendering the scene in a Win32 application???
Is it redundant call?

I ask that because I think that glFlush( void ); call causes slow down in the speed of the rendering, especially when the timer process is executing in order to simulate some kind of animation...

thanx



[This message has been edited by rosentzp (edited 04-23-2003).]

Gavin
04-23-2003, 04:50 AM
flush is for single buffers, not double... you buffer should be flushed (as in gl will sort this) before it is written to the front