Better handle errors
This commit is contained in:
parent
2480fa80ef
commit
e4b01079f0
2 changed files with 12 additions and 6 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue