mistake: Revert the files that I did not mean to commit

This commit is contained in:
Brandon Schaefer
2017-03-01 15:05:54 -08:00
parent 7bbb13ea59
commit 94a69443c7
5 changed files with 29 additions and 372 deletions

View File

@@ -210,7 +210,6 @@ ShouldUseTextureFramebuffer()
#if SDL_VIDEO_OPENGL
/* Ugh, find a way to cache this value! */
{
/*
SDL_Window *window;
SDL_GLContext context;
SDL_bool hasAcceleratedOpenGL = SDL_FALSE;
@@ -226,6 +225,7 @@ ShouldUseTextureFramebuffer()
if (glGetStringFunc) {
vendor = (const char *) glGetStringFunc(GL_VENDOR);
}
/* Add more vendors here at will... */
if (vendor &&
(SDL_strstr(vendor, "ATI Technologies") ||
SDL_strstr(vendor, "NVIDIA"))) {
@@ -235,8 +235,7 @@ ShouldUseTextureFramebuffer()
}
SDL_DestroyWindow(window);
}
*/
return 1;//hasAcceleratedOpenGL;
return hasAcceleratedOpenGL;
}
#elif SDL_VIDEO_OPENGL_ES || SDL_VIDEO_OPENGL_ES2
/* Let's be optimistic about this! */