mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-07 08:39:00 +00:00
check for GL_ARB_sync, it's in ogl 3.2
This commit is contained in:
parent
ef602fd643
commit
e7a8d3f854
3 changed files with 7 additions and 2 deletions
|
@ -38,10 +38,12 @@ StreamBuffer::StreamBuffer(u32 type, size_t size, StreamType uploadType)
|
|||
|
||||
if(m_uploadtype == STREAM_DETECT)
|
||||
{
|
||||
if(g_Config.backend_info.bSupportsGLPinnedMemory)
|
||||
if(g_Config.backend_info.bSupportsGLPinnedMemory && g_Config.backend_info.bSupportsGLSync)
|
||||
m_uploadtype = PINNED_MEMORY;
|
||||
else
|
||||
else if(g_Config.backend_info.bSupportsGLSync)
|
||||
m_uploadtype = MAP_AND_RISK;
|
||||
else
|
||||
m_uploadtype = MAP_AND_ORPHAN;
|
||||
}
|
||||
|
||||
Init();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue