[raylib-cs] WARNING: GLFW: Failed to find selected monitor
home-gihub opened this issue · comments
Issue description
When trying to call Raylib.GetMonitorHeight(0); GLFW fails to find selected monitor and returns 0,
when trying to make a window with this value System.AccessViolationException: occours.
Environment
Windows 10
Invidia GPU
Intel i5 CPU
16 gb ram
Visual Studio
OpenGL ver ???
raylib 5.0
Issue Screenshot
Code Example
int screenWidth = 200;
int screenHeight = Raylib.GetMonitorHeight(0);
Raylib.InitWindow(screenWidth, screenHeight, "Test");
BTW: I was decrementing screenheight by 1 and that was causing it to crash but it still happens
and my transparent window wont draw anything