diff options
author | José Fonseca <[email protected]> | 2009-05-30 19:58:50 -0700 |
---|---|---|
committer | José Fonseca <[email protected]> | 2009-05-30 20:29:03 -0700 |
commit | fe69b6bdc7bbde2cefec856ff338788d7be20f4e (patch) | |
tree | 65979af9653c8645a3260c7c422318beba6e31e7 /src/gallium/state_trackers/wgl/shared/stw_context.h | |
parent | be7c56be06183239008b168181aa6f1c78591579 (diff) |
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.
Diffstat (limited to 'src/gallium/state_trackers/wgl/shared/stw_context.h')
-rw-r--r-- | src/gallium/state_trackers/wgl/shared/stw_context.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/wgl/shared/stw_context.h b/src/gallium/state_trackers/wgl/shared/stw_context.h index 92df7e6136b..166471de5eb 100644 --- a/src/gallium/state_trackers/wgl/shared/stw_context.h +++ b/src/gallium/state_trackers/wgl/shared/stw_context.h @@ -31,14 +31,13 @@ #include <windows.h> struct st_context; -struct stw_pixelformat_info; struct stw_context { struct st_context *st; UINT_PTR hglrc; + int iPixelFormat; HDC hdc; - const struct stw_pixelformat_info *pfi; }; #endif /* STW_CONTEXT_H */ |