Added MipMap to Texture and proper opengl debug info
This commit is contained in:
@@ -88,15 +88,7 @@ bool initSDL() {
|
||||
if (GLEW_KHR_debug) {
|
||||
Utility::printInfo(Utility::GLEW, "Supporting KHR debug output!");
|
||||
}
|
||||
//Print OpenGL version
|
||||
printf("----------------------OpenGL Info----------------------------\n");
|
||||
printf("Glew Version: %s\n", glewGetString(GLEW_VERSION));
|
||||
printf(" Version: %s\n", glGetString(GL_VERSION));
|
||||
printf(" Vendor: %s\n", glGetString(GL_VENDOR));
|
||||
printf(" Renderer: %s\n", glGetString(GL_RENDERER));
|
||||
printf(" Shading: %s\n", glGetString(GL_SHADING_LANGUAGE_VERSION));
|
||||
printf("----------------------------------------------------------------\n");
|
||||
|
||||
|
||||
if(glDebugMessageCallback) {
|
||||
glEnable(GL_DEBUG_OUTPUT);
|
||||
Utility::printInfo(Utility::OpenGL, "Register OpenGL debug callback");
|
||||
|
||||
Reference in New Issue
Block a user