mirror of
https://github.com/love2d/love.git
synced 2026-08-20 04:30:09 +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 <common/Matrix.h>
|
||||||
#include <font/GlyphData.h>
|
#include <font/GlyphData.h>
|
||||||
#include <graphics/Drawable.h>
|
#include <graphics/Drawable.h>
|
||||||
|
#include <graphics/Volatile.h>
|
||||||
|
|
||||||
// OpenGL
|
// OpenGL
|
||||||
#include "GLee.h"
|
#include "GLee.h"
|
||||||
@@ -39,7 +40,7 @@ namespace graphics
|
|||||||
namespace opengl
|
namespace opengl
|
||||||
{
|
{
|
||||||
|
|
||||||
class Glyph : public Drawable
|
class Glyph : public Drawable, public Volatile
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user