diff options
| author | Nikolas <[email protected]> | 2022-09-18 21:08:51 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-09-18 21:08:51 +0200 |
| commit | 42ecd72547b699c0f3008d49831e504e4eb3dfb2 (patch) | |
| tree | 933516f8365c99981b5ee71a29b31158f7215714 /src/rcore.c | |
| parent | 8f597b3cc379258215cb6cbdedada7e8389ad1df (diff) | |
| download | raylib-42ecd72547b699c0f3008d49831e504e4eb3dfb2.tar.gz raylib-42ecd72547b699c0f3008d49831e504e4eb3dfb2.zip | |
[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
Diffstat (limited to 'src/rcore.c')
| -rw-r--r-- | src/rcore.c | 6 |
1 files changed, 3 insertions, 3 deletions
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) |
