mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-09 07:39:26 +01:00
Revert "ogl: change the default buffer upload on osx+nvidia"
This reverts commit 3b0b5155e8335d3645ed5860682ecb1975d8c342. It seems that both unsync upload methods are broken on osx+nvidia, so switch back to the default one :-(
This commit is contained in:
parent
39a8645ffc
commit
6cc30f3b23
@ -21,12 +21,8 @@ StreamBuffer::StreamBuffer(u32 type, size_t size, StreamType uploadType)
|
||||
{
|
||||
glGenBuffers(1, &m_buffer);
|
||||
|
||||
bool nvidia = false;
|
||||
bool nvidia = !strcmp(g_ogl_config.gl_vendor, "NVIDIA Corporation");
|
||||
|
||||
#ifndef __APPLE__
|
||||
// OSX also reports to be nvidia, but the driver is self written and doesn't act like the windows nvidia driver.
|
||||
nvidia = !strcmp(g_ogl_config.gl_vendor, "NVIDIA Corporation");
|
||||
#endif
|
||||
if(m_uploadtype & STREAM_DETECT)
|
||||
{
|
||||
// TODO: move this to InitBackendInfo
|
||||
|
Loading…
x
Reference in New Issue
Block a user