Hi is swapbuffer function always use hDC windows in order to appear the picture? If I use another screen created by CreateDIBSection can I swapbuffer it?
Posted on 2005-05-11 22:24:36 by realvampire
To be honest I haven't tried rendering to multiple windows, but the way I understand it, you have to create several opengl rendering contexts, associate each with a target window handle, and then you have to switch glContexts during rendering, such that each context receives a glBegin and glEnd, then you call SwapBuffers just once, and all the windows get updated.
Perhaps someone can correct me there.
Posted on 2005-05-14 01:30:16 by Homer