diff options
| author | z0z0z <trash0@openmailbox.org> | 2017-02-26 10:49:28 -0500 |
|---|---|---|
| committer | z0z0z <trash0@openmailbox.org> | 2017-02-26 10:49:28 -0500 |
| commit | 005e6796b85341a3e79fc93e49337bb8d4e67fdf (patch) | |
| tree | b4ab355e634c815413ab58ca7b38361bf3dcd90b /Source/Core/VideoBackends/OGL/StreamBuffer.cpp | |
| parent | 51136681dfa77c88f548d187c9c7954f0ad6ac32 (diff) | |
Disable pinned memory for AMD mesa drivers
Diffstat (limited to 'Source/Core/VideoBackends/OGL/StreamBuffer.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/OGL/StreamBuffer.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/Core/VideoBackends/OGL/StreamBuffer.cpp b/Source/Core/VideoBackends/OGL/StreamBuffer.cpp index 91a63389a7..4148f5fee3 100644 --- a/Source/Core/VideoBackends/OGL/StreamBuffer.cpp +++ b/Source/Core/VideoBackends/OGL/StreamBuffer.cpp @@ -356,8 +356,7 @@ std::unique_ptr<StreamBuffer> StreamBuffer::Create(u32 type, u32 size) { // pinned memory is much faster than buffer storage on AMD cards if (g_ogl_config.bSupportsGLPinnedMemory && - !(DriverDetails::HasBug(DriverDetails::BUG_BROKEN_PINNED_MEMORY) && - type == GL_ELEMENT_ARRAY_BUFFER)) + !(DriverDetails::HasBug(DriverDetails::BUG_BROKEN_PINNED_MEMORY))) return std::make_unique<PinnedMemory>(type, size); // buffer storage works well in most situations |
