mirror of
https://github.com/love2d/love.git
synced 2026-08-16 16:20:42 +02:00
changed LUMINOSITY_ALPHA to LUMINANCE_ALPHA (more consistent with opengl's phrasing)
This commit is contained in:
@@ -95,7 +95,7 @@ namespace opengl
|
||||
bool Glyph::loadVolatile()
|
||||
{
|
||||
GLint format = GL_RGBA;
|
||||
if (data->getFormat() == love::font::GlyphData::FORMAT_LUMINOSITY_ALPHA) format = GL_LUMINANCE_ALPHA;
|
||||
if (data->getFormat() == love::font::GlyphData::FORMAT_LUMINANCE_ALPHA) format = GL_LUMINANCE_ALPHA;
|
||||
|
||||
glGenTextures(1,&texture);
|
||||
glBindTexture(GL_TEXTURE_2D, texture);
|
||||
|
||||
Reference in New Issue
Block a user