diff options
author | José Fonseca <jfonseca@vmware.com> | 2009-04-10 18:43:51 +0100 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2009-04-10 19:50:35 +0100 |
commit | 6fc244c68d3b3a9f89b6f752725e6c768cb08a84 (patch) | |
tree | 73ba46fbdbf1edf80af5cb42c83a08cbf6452a63 /src/gallium/state_trackers/wgl/shared/stw_pixelformat.h | |
parent | aa405a2a77d51a4f807c5c2f63cbc76eb660e489 (diff) |
wgl: Note down the gallium pixel formats, instead of re-guessing them.
Diffstat (limited to 'src/gallium/state_trackers/wgl/shared/stw_pixelformat.h')
-rw-r--r-- | src/gallium/state_trackers/wgl/shared/stw_pixelformat.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/wgl/shared/stw_pixelformat.h b/src/gallium/state_trackers/wgl/shared/stw_pixelformat.h index acfb230d9d..34522ebef3 100644 --- a/src/gallium/state_trackers/wgl/shared/stw_pixelformat.h +++ b/src/gallium/state_trackers/wgl/shared/stw_pixelformat.h @@ -31,9 +31,13 @@ #include <windows.h> #include "pipe/p_compiler.h" +#include "pipe/p_format.h" struct stw_pixelformat_info { + enum pipe_format color_format; + enum pipe_format depth_stencil_format; + PIXELFORMATDESCRIPTOR pfd; unsigned numSampleBuffers; |