mirror of
https://github.com/love2d/love.git
synced 2026-08-16 08:11:02 +02:00
Glyph wasn't actually Volatile and thus didn't handle resolution changes very well, this is fixed
This commit is contained in:
@@ -27,6 +27,7 @@
|
||||
#include <common/Matrix.h>
|
||||
#include <font/GlyphData.h>
|
||||
#include <graphics/Drawable.h>
|
||||
#include <graphics/Volatile.h>
|
||||
|
||||
// OpenGL
|
||||
#include "GLee.h"
|
||||
@@ -39,7 +40,7 @@ namespace graphics
|
||||
namespace opengl
|
||||
{
|
||||
|
||||
class Glyph : public Drawable
|
||||
class Glyph : public Drawable, public Volatile
|
||||
{
|
||||
private:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user