mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-24 15:01:16 +01:00
ogl: change the default buffer upload on osx+nvidia
This commit is contained in:
parent
2b10142b4f
commit
3b0b5155e8
@ -21,8 +21,12 @@ StreamBuffer::StreamBuffer(u32 type, size_t size, StreamType uploadType)
|
|||||||
{
|
{
|
||||||
glGenBuffers(1, &m_buffer);
|
glGenBuffers(1, &m_buffer);
|
||||||
|
|
||||||
bool nvidia = !strcmp(g_ogl_config.gl_vendor, "NVIDIA Corporation");
|
bool nvidia = false;
|
||||||
|
|
||||||
|
#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)
|
if(m_uploadtype & STREAM_DETECT)
|
||||||
{
|
{
|
||||||
// TODO: move this to InitBackendInfo
|
// TODO: move this to InitBackendInfo
|
||||||
|
Loading…
x
Reference in New Issue
Block a user