View Full Version : doublebuffering four viewports?
03-15-2000, 12:01 AM
I programmed an application on Win NT with four viewports(every viewport has its own DC). Now the viewports are supposed to be doublebuffered.
How can I use doublebuffering for this? And how do I do it in C++?
act as usual. every DC should have a RC attached to it, so issue a SwapBuffers(DC) for any viewport.
03-20-2000, 09:58 AM
I've done this too with MFC and 4 viewports. I setup the DC with my view, there's only 1 for the 4 viewports. Likewise with the Rendering context. I draw each viewport AND THEN swap buffers. It works fine. Hope this helps
Powered by vBulletin® Version 4.2.2 Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.