Fixed comment

This commit is contained in:
Ben Baron 2019-09-17 08:28:43 -05:00
parent cb675434c7
commit b192bfc451

View File

@ -688,7 +688,7 @@ static TextureConversionFunc _determineConversion(GLint internalFormat, GLenum f
switch(internalFormat) { switch(internalFormat) {
case GL_ALPHA: { case GL_ALPHA: {
if(format == GL_ALPHA) { if(format == GL_ALPHA) {
/* Dreamcast doesn't really support GL_RED internally, so store as argb with each rgb value as white */ /* Dreamcast doesn't really support GL_ALPHA internally, so store as argb with each rgb value as white */
return _alpha8_to_argb4444; return _alpha8_to_argb4444;
} else if(type == GL_UNSIGNED_BYTE && format == GL_RGBA) { } else if(type == GL_UNSIGNED_BYTE && format == GL_RGBA) {
return _rgba8888_to_a000; return _rgba8888_to_a000;