mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-09 00:12:14 +02:00
Change the comments to be more detailed.
This commit is contained in:
parent
30f93ab418
commit
43dcbe0a73
@ -346,7 +346,7 @@ StreamBuffer* StreamBuffer::Create(u32 type, u32 size)
|
|||||||
// Prefer the syncing buffers over the orphaning one
|
// Prefer the syncing buffers over the orphaning one
|
||||||
if (g_ogl_config.bSupportsGLSync)
|
if (g_ogl_config.bSupportsGLSync)
|
||||||
{
|
{
|
||||||
// pinned memory is much faster on amd cards
|
// pinned memory is much faster than buffer storage on amd cards
|
||||||
if (g_ogl_config.bSupportsGLPinnedMemory &&
|
if (g_ogl_config.bSupportsGLPinnedMemory &&
|
||||||
!(DriverDetails::HasBug(DriverDetails::BUG_BROKENPINNEDMEMORY) && type == GL_ELEMENT_ARRAY_BUFFER))
|
!(DriverDetails::HasBug(DriverDetails::BUG_BROKENPINNEDMEMORY) && type == GL_ELEMENT_ARRAY_BUFFER))
|
||||||
return new PinnedMemory(type, size);
|
return new PinnedMemory(type, size);
|
||||||
|
Loading…
Reference in New Issue
Block a user