refactor shaders.c and print error logs

This commit is contained in:
2025-09-13 18:04:00 +02:00
parent 4753e79853
commit db2645a1b5
7 changed files with 70 additions and 51 deletions
+3
View File
@@ -49,6 +49,9 @@ GLFWwindow *create_window(GLFWmonitor *monitor,
void (*key_callback)(Window *, int, int, int, int)) {
// Window related hints
glfwWindowHint(GLFW_DECORATED, GLFW_FALSE);
glfwWindowHint(GLFW_FOCUSED, GLFW_FALSE);
glfwWindowHint(GLFW_CENTER_CURSOR, GLFW_FALSE);
glfwWindowHint(GLFW_FOCUS_ON_SHOW, GLFW_FALSE);
// create fullscreen window in selected monitor
GLFWwindow *window =