fixes demos/src/glsl/vert-tex
case GL_BLUE:
case GL_ALPHA:
case GL_INTENSITY:
+ case GL_LUMINANCE:
case GL_DEPTH_COMPONENT:
case GL_STENCIL_INDEX:
num_channels = 1;
num_channels = 4;
break;
default:
- OS::DebugMessage("warning: %s: unexpected GLenum 0x%04X\n", __FUNCTION__, format);
+ OS::DebugMessage("warning: %s: unexpected format GLenum 0x%04X\n", __FUNCTION__, format);
num_channels = 0;
break;
}
bits_per_pixel = 32;
break;
default:
- OS::DebugMessage("warning: %s: unexpected GLenum 0x%04X\n", __FUNCTION__, type);
+ OS::DebugMessage("warning: %s: unexpected type GLenum 0x%04X\n", __FUNCTION__, type);
bits_per_pixel = 0;
break;
}