comments
This commit is contained in:
parent
1031f163a2
commit
973faf0cbc
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ static void draw(void) {
|
||||||
static double t0 = 0;
|
static double t0 = 0;
|
||||||
double dt = get_dt(&t0, GL_TRUE);
|
double dt = get_dt(&t0, GL_TRUE);
|
||||||
|
|
||||||
glClearColor(0.2f, 0.2f, 0.8f, 1);
|
glClearColor(0.2f, 0.2f, 0.8f, 1); // couleur ciel
|
||||||
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
|
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
|
||||||
glUseProgram(_pId);
|
glUseProgram(_pId);
|
||||||
|
|
||||||
|
|
Reference in a new issue