wgl: Use hooks instead of subclassing the window.
authorJosé Fonseca <jfonseca@vmware.com>
Thu, 9 Apr 2009 19:35:55 +0000 (20:35 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Thu, 9 Apr 2009 19:45:43 +0000 (20:45 +0100)
commit4bbb5eb96ad9f2e5b6e064854eeb5f5cb1498f9d
treeece258e53a0daa48aff2c871510b01370135056b
parentdeff09921563419a77bd1aad0054afa34214ed1a
wgl: Use hooks instead of subclassing the window.

Subclassing the window is invasive: we might call an old window proc even
after it was removed. Glut and another bug just in the wrong time was
provoking this. Hooks don't have this problem.
src/gallium/state_trackers/wgl/shared/stw_device.c
src/gallium/state_trackers/wgl/shared/stw_framebuffer.c
src/gallium/state_trackers/wgl/shared/stw_framebuffer.h
src/gallium/state_trackers/wgl/shared/stw_tls.h