mirror of
https://github.com/love2d/love.git
synced 2026-08-17 19:23:38 +02:00
Fix issue #136 - Filter for Imagefonts.
This commit is contained in:
@@ -28,6 +28,7 @@
|
||||
#include <font/GlyphData.h>
|
||||
#include <graphics/Drawable.h>
|
||||
#include <graphics/Volatile.h>
|
||||
#include <graphics/Image.h>
|
||||
|
||||
// OpenGL
|
||||
#include "GLee.h"
|
||||
@@ -52,10 +53,12 @@ namespace opengl
|
||||
|
||||
vertex vertices[4];
|
||||
|
||||
Image::Filter filter;
|
||||
|
||||
public:
|
||||
|
||||
|
||||
Glyph(love::font::GlyphData * data);
|
||||
Glyph(love::font::GlyphData * data, const Image::Filter& filter_ = Image::Filter());
|
||||
virtual ~Glyph();
|
||||
|
||||
bool load();
|
||||
|
||||
Reference in New Issue
Block a user