mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
progs/trivial: Silence compiler warnings in tri-blend-min.c.
This commit is contained in:
parent
de9132f274
commit
588e9f69c4
1 changed files with 3 additions and 3 deletions
|
|
@ -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':
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue