From 68124599e137eb763711703254eb9b9946ba5084 Mon Sep 17 00:00:00 2001 From: Ray Date: Tue, 6 Apr 2021 21:39:54 +0200 Subject: [PATCH] Corrected issue on RPI --- src/rlgl.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/rlgl.h b/src/rlgl.h index e1160afb..865476dd 100644 --- a/src/rlgl.h +++ b/src/rlgl.h @@ -1868,8 +1868,7 @@ void rlLoadExtensions(void *loader) #if defined(GRAPHICS_API_OPENGL_21) if (GLAD_GL_VERSION_2_1) TRACELOG(LOG_INFO, "GL: OpenGL 2.1 profile supported"); - #endif - #if defined(GRAPHICS_API_OPENGL_33) + #else if (GLAD_GL_VERSION_3_3) TRACELOG(LOG_INFO, "GL: OpenGL 3.3 Core profile supported"); else TRACELOG(LOG_ERROR, "GL: OpenGL 3.3 Core profile not supported"); #endif