changed LUMINOSITY_ALPHA to LUMINANCE_ALPHA (more consistent with opengl's phrasing)

This commit is contained in:
Bill Meltsner
2010-11-09 19:07:51 -05:00
parent 3cb3537db0
commit 37baf32374
3 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -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);