mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 18:18:06 +02:00
progs/redbook: Fix array out-of-bounds access.
This commit is contained in:
parent
37e955d491
commit
7f7b7b9a02
1 changed files with 1 additions and 1 deletions
|
|
@ -249,7 +249,7 @@ static void display(void)
|
|||
glCallList(1);
|
||||
glPopMatrix();
|
||||
|
||||
constColor[4] = 0.8;
|
||||
constColor[3] = 0.8;
|
||||
glTexEnvfv(GL_TEXTURE_ENV, GL_TEXTURE_ENV_COLOR, constColor);
|
||||
glPushMatrix();
|
||||
glTranslatef(4.0, 3.0, 0.0);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue