mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 18:18:06 +02:00
AL1616: Enable MESA_FORMAT_AL1616 for software paths
This commit is contained in:
parent
3325dc91be
commit
12982e381d
1 changed files with 4 additions and 2 deletions
|
|
@ -115,11 +115,13 @@ _mesa_choose_tex_format( GLcontext *ctx, GLint internalFormat,
|
|||
case GL_LUMINANCE_ALPHA:
|
||||
case GL_LUMINANCE4_ALPHA4:
|
||||
case GL_LUMINANCE6_ALPHA2:
|
||||
case GL_LUMINANCE8_ALPHA8:
|
||||
return MESA_FORMAT_AL88;
|
||||
|
||||
case GL_LUMINANCE12_ALPHA4:
|
||||
case GL_LUMINANCE12_ALPHA12:
|
||||
case GL_LUMINANCE16_ALPHA16:
|
||||
case GL_LUMINANCE8_ALPHA8:
|
||||
return MESA_FORMAT_AL88;
|
||||
return MESA_FORMAT_AL1616;
|
||||
|
||||
case GL_INTENSITY:
|
||||
case GL_INTENSITY4:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue