Add stb image library to project

This commit is contained in:
4VRDriver
2020-09-02 00:27:26 +02:00
parent 82a2b88175
commit f8868be702
10 changed files with 7784 additions and 10 deletions

View File

@@ -21,13 +21,13 @@ Window::Window() {
}
#ifdef _DEBUG
std::cout << "OpenGL version: " << glGetString(GL_VERSION) << std::endl;
glEnable(GL_DEBUG_OUTPUT);
glEnable(GL_DEBUG_OUTPUT_SYNCHRONOUS);
glDebugMessageCallback(openGLDebugCallback, NULL);
#endif
glViewport(0, 0, width, height);
std::cout << "OpenGL version: " << glGetString(GL_VERSION) << std::endl;
// Tell GLFW which function to call when window is resized
glfwSetFramebufferSizeCallback(window, framebuffer_size_callback);