1
0
Fork 0
mirror of https://github.com/ocornut/imgui.git synced 2026-01-21 01:44:21 +00:00

Moving stdlib.h include outside of imgui.h (#405)

This commit is contained in:
ocornut 2015-11-13 17:08:54 +01:00
parent 9243aee62c
commit f87deff0f3
5 changed files with 7 additions and 6 deletions

View file

@ -16,7 +16,7 @@ int main(int, char**)
// Setup window
glfwSetErrorCallback(error_callback);
if (!glfwInit())
exit(1);
return 1;
glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 3);
glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 3);
glfwWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE);