View Full Version : ATI Radeon 9000 & Rendering in Front Buffer
02-21-2004, 08:20 AM
I've created an OpenGL Rendering context with double buffering. All is Ok when I render in back and swap to front. But when I try to draw directly in the window [with glDrawBuffer(GL_FRONT)], nothing appears on my Radeon 9000 with lastest drivers... It works only with very old driver !
What is wrong ?
02-24-2004, 02:37 AM
This is not a windows-specific problem, though on other machines it may work correctly without the following change. You should call glFlush() at the end of drawing to make sure OpenGL outputs the graphics you have sent to it. I imagine SwapBuffers does an implicit flush, but in single buffer mode OpenGL needs to be told when you've finished drawing the image.
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.