From 42ecd72547b699c0f3008d49831e504e4eb3dfb2 Mon Sep 17 00:00:00 2001 From: Nikolas Date: Sun, 18 Sep 2022 21:08:51 +0200 Subject: [rlgl] Check for extensions before enabling them (#2706) * [rlgl] Check for extensions before enabling them * Shift to glad on macOS * #undef CORE_OPENGL_33 * Remove version hack and fix ASTC compression assumption * Remove loader from glad * Use GLAD_MALLOC/FREE instead of malloc/free * More explicit extension checking --- src/rcore.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/rcore.c') diff --git a/src/rcore.c b/src/rcore.c index e46751d2..5605a75f 100644 --- a/src/rcore.c +++ b/src/rcore.c @@ -3986,9 +3986,9 @@ static bool InitGraphicsDevice(int width, int height) glfwWindowHint(GLFW_SAMPLES, 4); // Tries to enable multisampling x4 (MSAA), default is 0 } - // NOTE: When asking for an OpenGL context version, most drivers provide highest supported version - // with forward compatibility to older OpenGL versions. - // For example, if using OpenGL 1.1, driver can provide a 4.3 context forward compatible. + // NOTE: When asking for an OpenGL context version, most drivers provide the highest supported version + // with backward compatibility to older OpenGL versions. + // For example, if using OpenGL 1.1, driver can provide a 4.3 backwards compatible context. // Check selection OpenGL version if (rlGetVersion() == RL_OPENGL_21) -- cgit v1.2.3