openglrenderer: revert back to glFlush

Just can't win with this one. I started with glFinish because it's technically the correct option, however it caused issues on a GPU, so I switched it out for glFlush. Then I started noticing other frame sync oddities that would be fixed by using glFinish, so I switched back. Now, not only is it causing GPU issues on one system, it seems to be causing GPU issues on others too. So now glFlush seems like the lesser of the two evils, and I'm just going to have to find a way around the aforementioned frame sync issues.
This commit is contained in:
itsmattkc
2022-10-11 00:31:12 -07:00
parent e17a24021f
commit b76e9cbdbe
+1 -1
View File
@@ -364,7 +364,7 @@ void OpenGLRenderer::Flush()
{
GL_PREAMBLE;
functions_->glFinish();
functions_->glFlush();
}
Color OpenGLRenderer::GetPixelFromTexture(Texture *texture, const QPointF &pt)