summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorRay <[email protected]>2021-04-06 21:39:54 +0200
committerRay <[email protected]>2021-04-06 21:39:54 +0200
commit68124599e137eb763711703254eb9b9946ba5084 (patch)
tree623f43501015c91a02bd7b01fe5663c9a5ec8e0e /src
parent109d00cb14dc4792ab0b8256112b39f1c10112ba (diff)
downloadraylib-68124599e137eb763711703254eb9b9946ba5084.tar.gz
raylib-68124599e137eb763711703254eb9b9946ba5084.zip
Corrected issue on RPI
Diffstat (limited to 'src')
-rw-r--r--src/rlgl.h3
1 files changed, 1 insertions, 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