1
0
Fork 0
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:
fgenesis 2024-11-01 22:30:56 +01:00
parent c598fde5e8
commit 441fe9f332

View file

@ -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);
}