wgl: Lookup framebuffers by HWND whenever possible.
authorJosé Fonseca <jfonseca@vmware.com>
Fri, 3 Jul 2009 13:21:55 +0000 (14:21 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Fri, 3 Jul 2009 13:21:55 +0000 (14:21 +0100)
commitcffe7c8bd0397f8d54e2da16a21c7db4345766b8
tree9c5fa8de149990670ac34619db1016dfd73bd03b
parent2a2236606fd6ae473a2f4db6ef6d3d5030261316
wgl: Lookup framebuffers by HWND whenever possible.

Some applications create several HDCs for the same window, so spite the WGL
API is geared towards HDCs it is not reliable searching by HDC.
src/gallium/state_trackers/wgl/shared/stw_framebuffer.c