shithub: cstory

Download patch

ref: dfacd626622d57ef924f394f6378fdfb437e0959
parent: b894543f3bc6cbaad99ab836bae7c5d2c29a4cf0
author: Clownacy <Clownacy@users.noreply.github.com>
date: Mon Feb 3 10:44:09 EST 2020

Fix text-flickering in the OpenGL renderers

This would occur in CSE2E's options menu.

It was caused by cute_spritebatch destroying a texture atlas that
was being used by the current unflushed vertex buffer. To solve
this, we now track what textures are being used by current buffer,
and flush the buffer when the texture are about to be
modified/deleted.

As you can guess, this issue doesn't affect the SDLTexture backend,
since its batching system is half-decent.