mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-05-10 11:03:51 +00:00
Disable WaterSurfaceRender glCopyImageSubDataEXT code path
Fixes graphics problems as soon as the water surface was on screen
This commit is contained in:
parent
c598fde5e8
commit
441fe9f332
1 changed files with 3 additions and 2 deletions
|
@ -181,13 +181,14 @@ void WaterSurfaceRender::render(const RenderState& rs) const
|
||||||
|
|
||||||
core->frameBuffer.replaceCapture(curpage + 1);
|
core->frameBuffer.replaceCapture(curpage + 1);
|
||||||
|
|
||||||
if(glCopyImageSubDataEXT)
|
// This appears to have problems with some intel drivers; the fallback path is good enough
|
||||||
|
/*if(glCopyImageSubDataEXT)
|
||||||
glCopyImageSubDataEXT(
|
glCopyImageSubDataEXT(
|
||||||
oldtex, GL_TEXTURE_2D, 0, 0, 0, 0,
|
oldtex, GL_TEXTURE_2D, 0, 0, 0, 0,
|
||||||
newtex, GL_TEXTURE_2D, 0, 0, 0, 0,
|
newtex, GL_TEXTURE_2D, 0, 0, 0, 0,
|
||||||
core->width, core->height, 1
|
core->width, core->height, 1
|
||||||
);
|
);
|
||||||
else
|
else*/
|
||||||
quadBlit(rs, oldtex);
|
quadBlit(rs, oldtex);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue