mesa: remove GLchan-based formats; use hw 8-bit/channel formats instead
Removed: MESA_FORMAT_RGBA, RGB, ALPHA, LUMINANCE, LUMINANCE_ALPHA, INTENSITY.
This commit is contained in:
@@ -1025,9 +1025,9 @@ choose_tex_format( GLcontext *ctx, GLint internalFormat,
|
||||
{
|
||||
switch (internalFormat) {
|
||||
case GL_COMPRESSED_RGB_ARB:
|
||||
return MESA_FORMAT_RGB;
|
||||
return MESA_FORMAT_RGB888;
|
||||
case GL_COMPRESSED_RGBA_ARB:
|
||||
return MESA_FORMAT_RGBA;
|
||||
return MESA_FORMAT_RGBA8888;
|
||||
default:
|
||||
return _mesa_choose_tex_format(ctx, internalFormat, format, type);
|
||||
}
|
||||
|
Reference in New Issue
Block a user