wgl: Use the right pixel format.
authorJosé Fonseca <jfonseca@vmware.com>
Sun, 31 May 2009 02:58:50 +0000 (19:58 -0700)
committerJosé Fonseca <jfonseca@vmware.com>
Sun, 31 May 2009 03:29:03 +0000 (20:29 -0700)
commitfe69b6bdc7bbde2cefec856ff338788d7be20f4e
tree65979af9653c8645a3260c7c422318beba6e31e7
parentbe7c56be06183239008b168181aa6f1c78591579
wgl: Use the right pixel format.

There is no current pixel format. Each HDC has its pixelformat which is
kept by gdi and set/get via the SetPixelFormat/GetPixelFormat functions.

Now the HDC's pixelformat is kept in the stw_framebuffer, which is
created during the SetPixelFormat.
src/gallium/state_trackers/wgl/shared/stw_context.c
src/gallium/state_trackers/wgl/shared/stw_context.h
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_pixelformat.c
src/gallium/state_trackers/wgl/shared/stw_pixelformat.h
src/gallium/state_trackers/wgl/shared/stw_tls.c
src/gallium/state_trackers/wgl/shared/stw_tls.h