projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d9a9e5
)
wgl: Fix mingw32 build.
author
Vinson Lee
<vlee@vmware.com>
Thu, 4 Mar 2010 02:20:01 +0000
(18:20 -0800)
committer
Vinson Lee
<vlee@vmware.com>
Thu, 4 Mar 2010 02:20:01 +0000
(18:20 -0800)
This was missed in commit
fcf438e9e03f6e75bca4a49ad372fe7c4b1abbf8
.
src/gallium/state_trackers/wgl/stw_pixelformat.c
patch
|
blob
|
history
diff --git
a/src/gallium/state_trackers/wgl/stw_pixelformat.c
b/src/gallium/state_trackers/wgl/stw_pixelformat.c
index f8edc560c5527212dcc558a2e5ec9507f6df85f4..bc28f31ed1cf7e77c25adba20a3b74a0e261e56f 100644
(file)
--- a/
src/gallium/state_trackers/wgl/stw_pixelformat.c
+++ b/
src/gallium/state_trackers/wgl/stw_pixelformat.c
@@
-271,14
+271,12
@@
stw_pixelformat_visual(GLvisual *visual,
memset(visual, 0, sizeof *visual);
_mesa_initialize_visual(
visual,
- (pfi->pfd.iPixelType == PFD_TYPE_RGBA) ? GL_TRUE : GL_FALSE,
(pfi->pfd.dwFlags & PFD_DOUBLEBUFFER) ? GL_TRUE : GL_FALSE,
(pfi->pfd.dwFlags & PFD_STEREO) ? GL_TRUE : GL_FALSE,
pfi->pfd.cRedBits,
pfi->pfd.cGreenBits,
pfi->pfd.cBlueBits,
pfi->pfd.cAlphaBits,
- (pfi->pfd.iPixelType == PFD_TYPE_COLORINDEX) ? pfi->pfd.cColorBits : 0,
pfi->pfd.cDepthBits,
pfi->pfd.cStencilBits,
pfi->pfd.cAccumRedBits,