This commit is contained in:
Mylloon 2023-05-08 16:46:22 +02:00
parent 1031f163a2
commit 973faf0cbc
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -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);