View Full Version : doublebuffering four viewports?
03-14-2000, 11:01 PM
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, 08: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 © 2016 vBulletin Solutions, Inc. All rights reserved.