mirror of
https://github.com/love2d/love.git
synced 2026-08-17 19:23:38 +02:00
Fonts now handle resolution changes properly
This commit is contained in:
@@ -35,7 +35,7 @@ namespace graphics
|
||||
{
|
||||
namespace opengl
|
||||
{
|
||||
class Font : public Object
|
||||
class Font : public Object, public Volatile
|
||||
{
|
||||
private:
|
||||
|
||||
@@ -148,6 +148,10 @@ namespace opengl
|
||||
* Returns the spacing modifier.
|
||||
**/
|
||||
float getSpacing() const;
|
||||
|
||||
// Implements Volatile.
|
||||
bool loadVolatile();
|
||||
void unloadVolatile();
|
||||
|
||||
}; // Font
|
||||
|
||||
|
||||
Reference in New Issue
Block a user