projects
/
freeglut
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1ff6aa
)
Fixing bug report 3104860 -- setting the accumulator bits to one if GLUT_ACCUM is...
author
John F. Fay
<johnffay@nettally.com>
Tue, 25 Jan 2011 05:47:56 +0000
(
05:47
+0000)
committer
John F. Fay
<johnffay@nettally.com>
Tue, 25 Jan 2011 05:47:56 +0000
(
05:47
+0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@890
7f0cb862
-5218-0410-a997-
914c9d46530a
src/freeglut_window.c
patch
|
blob
|
history
diff --git
a/src/freeglut_window.c
b/src/freeglut_window.c
index
c7a07c6
..
4663aba
100644
(file)
--- a/
src/freeglut_window.c
+++ b/
src/freeglut_window.c
@@
-679,7
+679,7
@@
static void fghFillPFD( PIXELFORMATDESCRIPTOR *ppfd, HDC hdc, unsigned char laye
ppfd->cGreenShift = 0;
ppfd->cBlueShift = 0;
ppfd->cAlphaShift = 0;
- ppfd->cAccumBits = 0;
+ ppfd->cAccumBits = ( fgState.DisplayMode & GLUT_ACCUM ) ? 1 : 0;
ppfd->cAccumRedBits = 0;
ppfd->cAccumGreenBits = 0;
ppfd->cAccumBlueBits = 0;