Better handle errors

This commit is contained in:
Dimitri Lozeve 2021-02-23 20:06:05 +01:00
parent 2480fa80ef
commit e4b01079f0
2 changed files with 12 additions and 6 deletions

View file

@ -12,7 +12,7 @@
*
* @param width The width of the window to create.
* @param height The height of the window to create.
* @return A pointer to the newly created GLFW window.
* @return A pointer to the newly created GLFW window, or `NULL` on error.
*/
GLFWwindow *initialize_window(int width, int height) {
/* Initialize GLFW */