From 565b994f583259bf2df075d24c188fd06cf95c26 Mon Sep 17 00:00:00 2001 From: Anton Gerdelan Date: Thu, 14 Mar 2024 20:19:07 +0000 Subject: [PATCH] fix warning on return type --- 04_mats_and_vecs/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/04_mats_and_vecs/main.cpp b/04_mats_and_vecs/main.cpp index 12b4f04..87aa0eb 100644 --- a/04_mats_and_vecs/main.cpp +++ b/04_mats_and_vecs/main.cpp @@ -101,7 +101,7 @@ int main() { if ( GL_TRUE != params ) { fprintf( stderr, "ERROR: could not link shader programme GL index %i\n", shader_programme ); print_programme_info_log( shader_programme ); - return false; + return 1; } GLfloat matrix[] = {