mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-05 23:58:59 +00:00
Merge pull request #7692 from zackhow/bboxadroid
Android/OGL: fix bounding box for OpenGL-ES
This commit is contained in:
commit
c2afcb0f6b
1 changed files with 2 additions and 1 deletions
|
@ -99,7 +99,8 @@ int BoundingBox::Get(int index)
|
||||||
{
|
{
|
||||||
int data = 0;
|
int data = 0;
|
||||||
glBindBuffer(GL_SHADER_STORAGE_BUFFER, s_bbox_buffer_id);
|
glBindBuffer(GL_SHADER_STORAGE_BUFFER, s_bbox_buffer_id);
|
||||||
if (!DriverDetails::HasBug(DriverDetails::BUG_SLOW_GETBUFFERSUBDATA))
|
if (!DriverDetails::HasBug(DriverDetails::BUG_SLOW_GETBUFFERSUBDATA) &&
|
||||||
|
!static_cast<Renderer*>(g_renderer.get())->IsGLES())
|
||||||
{
|
{
|
||||||
// Using glMapBufferRange to read back the contents of the SSBO is extremely slow
|
// Using glMapBufferRange to read back the contents of the SSBO is extremely slow
|
||||||
// on nVidia drivers. This is more noticeable at higher internal resolutions.
|
// on nVidia drivers. This is more noticeable at higher internal resolutions.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue