OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3f7170
)
silence warning
author
Brian Paul
<brian.paul@tungstengraphics.com>
Fri, 24 Jan 2003 21:41:08 +0000
(21:41 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Fri, 24 Jan 2003 21:41:08 +0000
(21:41 +0000)
progs/demos/texenv.c
patch
|
blob
|
history
diff --git
a/progs/demos/texenv.c
b/progs/demos/texenv.c
index
4c26008
..
705cd26
100644
(file)
--- a/
progs/demos/texenv.c
+++ b/
progs/demos/texenv.c
@@
-271,7
+271,7
@@
static void keyboard( unsigned char c, int x, int y )
{
switch ( c ) {
case 'c':
- envColor =
++envColor
% (int) NUM_ENV_COLORS;
+ envColor =
(++envColor)
% (int) NUM_ENV_COLORS;
break;
case 'g':
drawBackground = !drawBackground;