Remove the glFlush() call that became unnecessary after 3871e01a9f was merged. This also fixes glFlush() being called in a state in which no context would be active in specific use cases.

This commit is contained in:
binary1248 2019-08-30 23:05:03 +02:00 committed by Lukas Dürrenberger
parent ea71dd2fe0
commit f2b8e6397b

View File

@ -92,10 +92,6 @@ m_cacheId (getUniqueId())
if (create(copy.getSize().x, copy.getSize().y))
{
update(copy);
// Force an OpenGL flush, so that the texture will appear updated
// in all contexts immediately (solves problems in multi-threaded apps)
glCheck(glFlush());
}
else
{