Added Linux Support, Improved code cleanliness

This commit is contained in:
2021-07-13 08:36:25 -07:00
parent 8b45b976d4
commit 6b027e6e4e
18 changed files with 110 additions and 75 deletions

View File

@ -11,7 +11,7 @@ GLFWwindow *window = NULL;
int32_t main() {
// Attempt to init GLFW
if(!glfwInit()) return NULL;
if(!glfwInit()) return 1;
// Setup window hints
glfwWindowHint(GLFW_OPENGL_DEBUG_CONTEXT, false);