mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 03:21:49 +00:00
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:
parent
7b90fa15db
commit
0042d8a60c
2 changed files with 33 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue