[Bf-committers] First HDC in Windows GHOST
Brecht Van Lommel
brechtvanlommel at pandora.be
Mon Jul 22 20:11:02 CEST 2013
Both X11/Cocoa have a similar first GLXContext/NSOpenGLContext that is
not deleted, so I don't think it's specific to Windows.
Textures (fonts, icons, images) and other OpenGL buffer are shared
between windows, I'm not sure how this stuff works but I guess they
are somehow linked to the first context.
On Mon, Jul 22, 2013 at 9:52 AM, Jason Wilkins
<jason.a.wilkins at gmail.com> wrote:
> It appears that when creating a GHOST window in Windows that it only calls
> ReleaseDC on it if it is not the first one created.
> Does this have to do with WGL's DisplayList sharing or some other quirk of
> The reason I ask is because if it only has to do with features in WGL then
> I can ignore it, but if it is more general behavior then I'll need to make
> sure the EGL branch also avoids deleting the first DC as well.
> Bf-committers mailing list
> Bf-committers at blender.org
More information about the Bf-committers