add check for OpenGL Debug extension support (#498)

* Fix crash on Osx Arm
* Check OpenGL extension support safely
* Replace on cstring
* Moved to Window.cpp and added extensions cache
This commit is contained in:
boolean-false
2025-04-02 12:34:12 +03:00
committed by GitHub
parent 7b90fa15db
commit 0042d8a60c
2 changed files with 33 additions and 2 deletions
+1
View File
@@ -24,6 +24,7 @@ class Window {
static CursorShape cursor;
static bool tryToMaximize(GLFWwindow* window, GLFWmonitor* monitor);
static bool isGlExtensionSupported(const char *extension);
public:
static int posX;
static int posY;