mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2024-11-25 09:44:02 +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);
|
||||
|
||||
if(glCopyImageSubDataEXT)
|
||||
// This appears to have problems with some intel drivers; the fallback path is good enough
|
||||
/*if(glCopyImageSubDataEXT)
|
||||
glCopyImageSubDataEXT(
|
||||
oldtex, GL_TEXTURE_2D, 0, 0, 0, 0,
|
||||
newtex, GL_TEXTURE_2D, 0, 0, 0, 0,
|
||||
core->width, core->height, 1
|
||||
);
|
||||
else
|
||||
else*/
|
||||
quadBlit(rs, oldtex);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue