summaryrefslogtreecommitdiff
path: root/Source/Plugins/Plugin_VideoOGL/Src/Render.cpp
diff options
context:
space:
mode:
authorRyan Houdek <Sonicadvance1@gmail.com>2013-03-23 15:37:01 -0500
committerRyan Houdek <Sonicadvance1@gmail.com>2013-03-23 15:37:01 -0500
commitff61dc384095680dcd0182b25003de111bcf3373 (patch)
tree5ddbed063c35786d1472a93c0e43b21e384552d3 /Source/Plugins/Plugin_VideoOGL/Src/Render.cpp
parent086252380de91a717ad8e1dcb6d55a807aa43f9d (diff)
Switch to using bitfields in the streambuffer class so we can exclude buggy streambuffer types. This disables pinned memory on ATI for GL_ELEMENT_ARRAY_BUFFER because it seems to be buggy. This fixes ATI for me.
Diffstat (limited to 'Source/Plugins/Plugin_VideoOGL/Src/Render.cpp')
-rw-r--r--Source/Plugins/Plugin_VideoOGL/Src/Render.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/Source/Plugins/Plugin_VideoOGL/Src/Render.cpp b/Source/Plugins/Plugin_VideoOGL/Src/Render.cpp
index 5267118be2..04352dc0cb 100644
--- a/Source/Plugins/Plugin_VideoOGL/Src/Render.cpp
+++ b/Source/Plugins/Plugin_VideoOGL/Src/Render.cpp
@@ -287,15 +287,6 @@ Renderer::Renderer()
ERROR_LOG(VIDEO, "buggy driver detected. Disable UBO");
}
-#ifndef _WIN32
- if(g_Config.backend_info.bSupportsGLPinnedMemory) {
- // some fglrx versions have a broken pinned memory implementation, so disable it on non-windows plattforms.
- // everywhere else it isn't supported at all :-(
- g_Config.backend_info.bSupportsGLPinnedMemory = false;
- ERROR_LOG(VIDEO, "some fglrx versions have broken pinned memory support, so it's disabled for fglrx");
- }
-#endif
-
UpdateActiveConfig();
OSD::AddMessage(StringFromFormat("Missing Extensions: %s%s%s%s%s%s",
g_ActiveConfig.backend_info.bSupportsDualSourceBlend ? "" : "DualSourceBlend ",