View Full Version : multiple view call displaylist!

08-05-2009, 01:23 AM
i make 3 views with MFC SDI.every view has own hdc hglrc.now i want call the displaylist and make these views render same object what i have define before. just one view could render. if i donot use displaylist and draw directly. it has no problem. i have use wglMakeCurrent bind the hdc and hglrc before rendering. why just one view could render ? The same displaylist can not call in three differnt views? thanks

08-05-2009, 01:47 AM
Did you look for wglShareList ?

Why not to try creating your application in MFC MDI. They all share same parent.

Probably in case of multiple MFC SDI, after compilation only the display list is used at one SDI.