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
|
||||
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 &&
|
||||
!(DriverDetails::HasBug(DriverDetails::BUG_BROKENPINNEDMEMORY) && type == GL_ELEMENT_ARRAY_BUFFER))
|
||||
return new PinnedMemory(type, size);
|
||||
|
|
Loading…
Reference in New Issue