Use CC for general compiling; get rid of more printfs; display opengl version on load

This commit is contained in:
2022-11-23 23:29:50 +00:00
parent 29c001e7df
commit a0f016a011
8 changed files with 80 additions and 103 deletions

View File

@@ -50,7 +50,8 @@ void engine_init()
glfwSetErrorCallback(error_callback);
/* Initialize GLFW */
if (!glfwInit()) {
printf("Could not init GLFW\n");
YughError("Could not init GLFW. Exiting.");
exit(1);
}