mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-07 04:20:18 +01:00
progs/trivial: Silence compiler warnings in tri-blend-max.c
This commit is contained in:
parent
7d529736b9
commit
786899f153
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