mirror of
https://github.com/SFML/SFML.git
synced 2024-11-28 22:31:09 +08:00
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:
parent
ea71dd2fe0
commit
f2b8e6397b
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user