mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-02 06:08:50 +00:00
Merge pull request #557 from JMC47/pinned_memory
Change comment on Pinned Memory to be less ambiguous
This commit is contained in:
commit
ee100cf827
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue