mirror of
https://github.com/love2d/love.git
synced 2026-08-15 15:51:12 +02:00
Updated love.font, and added Glyph object in love.graphics.
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
// LOVE
|
||||
#include <common/Module.h>
|
||||
#include <filesystem/File.h>
|
||||
#include <font/GlyphData.h>
|
||||
#include "ImageData.h"
|
||||
|
||||
namespace love
|
||||
|
||||
@@ -20,6 +20,8 @@
|
||||
|
||||
#include "Image.h"
|
||||
|
||||
#include "ImageData.h"
|
||||
|
||||
// DevIL
|
||||
#include <IL/il.h>
|
||||
|
||||
|
||||
@@ -23,7 +23,6 @@
|
||||
|
||||
// LOVE
|
||||
#include <image/Image.h>
|
||||
#include "ImageData.h"
|
||||
|
||||
namespace love
|
||||
{
|
||||
|
||||
@@ -79,7 +79,7 @@ namespace devil
|
||||
// Bind the image.
|
||||
ilBindImage(image);
|
||||
|
||||
ilTexImage(width, height, 0, bpp, IL_RGBA, IL_UNSIGNED_BYTE, 0);
|
||||
ilTexImage(width, height, 1, bpp, IL_RGBA, IL_UNSIGNED_BYTE, 0);
|
||||
}
|
||||
|
||||
ImageData::~ImageData()
|
||||
|
||||
Reference in New Issue
Block a user