projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
881f552
)
progs/trivial: Redraw upon keypress.
author
Vinson Lee
<vlee@vmware.com>
Fri, 20 Nov 2009 06:52:05 +0000
(22:52 -0800)
committer
Vinson Lee
<vlee@vmware.com>
Fri, 20 Nov 2009 06:52:05 +0000
(22:52 -0800)
progs/trivial/linestrip-clip.c
patch
|
blob
|
history
progs/trivial/linestrip-flat-stipple.c
patch
|
blob
|
history
progs/trivial/linestrip.c
patch
|
blob
|
history
progs/trivial/tri-unfilled-tri.c
patch
|
blob
|
history
diff --git
a/progs/trivial/linestrip-clip.c
b/progs/trivial/linestrip-clip.c
index f2528229218ab171ae6bbd984955c689aa4edbf2..5e90ea2eb05e423a21b17e740cb791848cbd2e90 100644
(file)
--- a/
progs/trivial/linestrip-clip.c
+++ b/
progs/trivial/linestrip-clip.c
@@
-62,7
+62,7
@@
static void Key(unsigned char key, int x, int y)
case 27:
exit(1);
default:
-
return
;
+
break
;
}
glutPostRedisplay();
diff --git
a/progs/trivial/linestrip-flat-stipple.c
b/progs/trivial/linestrip-flat-stipple.c
index 5caa7244235d49c86538a150e8f4f5da7b33aeb8..bae5c3a1c3bf7ba677d24a2eb2901f5031d9cbd3 100644
(file)
--- a/
progs/trivial/linestrip-flat-stipple.c
+++ b/
progs/trivial/linestrip-flat-stipple.c
@@
-62,7
+62,7
@@
static void Key(unsigned char key, int x, int y)
case 27:
exit(1);
default:
-
return
;
+
break
;
}
glutPostRedisplay();
diff --git
a/progs/trivial/linestrip.c
b/progs/trivial/linestrip.c
index 0219b1ab70e1e813db70e86f1136e93ae81e5f12..b6d688214631c4d22f5dc1832e6c70fea3d5caba 100644
(file)
--- a/
progs/trivial/linestrip.c
+++ b/
progs/trivial/linestrip.c
@@
-62,7
+62,7
@@
static void Key(unsigned char key, int x, int y)
case 27:
exit(1);
default:
-
return
;
+
break
;
}
glutPostRedisplay();
diff --git
a/progs/trivial/tri-unfilled-tri.c
b/progs/trivial/tri-unfilled-tri.c
index 695cc890955c60865738b0473a6f8dd56dd3dbd4..75a70b8a4129a0a4f37b480ecce10ba2f887eb05 100644
(file)
--- a/
progs/trivial/tri-unfilled-tri.c
+++ b/
progs/trivial/tri-unfilled-tri.c
@@
-62,7
+62,7
@@
static void Key(unsigned char key, int x, int y)
case 27:
exit(1);
default:
-
return
;
+
break
;
}
glutPostRedisplay();