projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d52973
)
progs/trivial: Silence compiler warnings in tri-blend-max.c
author
Vinson Lee
<vlee@vmware.com>
Sat, 12 Dec 2009 22:20:17 +0000
(14:20 -0800)
committer
Vinson Lee
<vlee@vmware.com>
Sat, 12 Dec 2009 22:20:17 +0000
(14:20 -0800)
progs/trivial/tri-blend-max.c
patch
|
blob
|
history
diff --git
a/progs/trivial/tri-blend-max.c
b/progs/trivial/tri-blend-max.c
index b39f8f3f12ae8d84436ce0655cbcccc616d83f66..b173dab8ec1125ea93c764c99df4ee5ea401570b 100644
(file)
--- a/
progs/trivial/tri-blend-max.c
+++ b/
progs/trivial/tri-blend-max.c
@@
-83,7
+83,7
@@
static void drawRightTriangle(void)
glDisable (GL_BLEND);
}
-void display(void)
+
static
void display(void)
{
glClear(GL_COLOR_BUFFER_BIT);
@@
-99,7
+99,7
@@
void display(void)
glFlush();
}
-void reshape(int w, int h)
+
static
void reshape(int w, int h)
{
glViewport(0, 0, (GLsizei) w, (GLsizei) h);
glMatrixMode(GL_PROJECTION);
@@
-111,7
+111,7
@@
void reshape(int w, int h)
}
/* ARGSUSED1 */
-void keyboard(unsigned char key, int x, int y)
+
static
void keyboard(unsigned char key, int x, int y)
{
switch (key) {
case 't':