diff options
author | Brian Paul <[email protected]> | 2009-09-30 21:00:16 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-09-30 21:00:16 -0600 |
commit | 3fa7dbf368bb060220e9f78e666b00d6827166a6 (patch) | |
tree | 83cf26eb834b50f174c496fc4467db65bdba9e48 /src/mesa/drivers/x11/xm_dd.c | |
parent | 74ae14a2bde4f87a554c3d96e6f4a9a02591308d (diff) |
mesa: remove GLchan-based formats; use hw 8-bit/channel formats instead
Removed: MESA_FORMAT_RGBA, RGB, ALPHA, LUMINANCE, LUMINANCE_ALPHA, INTENSITY.
Diffstat (limited to 'src/mesa/drivers/x11/xm_dd.c')
-rw-r--r-- | src/mesa/drivers/x11/xm_dd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/x11/xm_dd.c b/src/mesa/drivers/x11/xm_dd.c index 5b00b5b82cd..d757e50b5a7 100644 --- a/src/mesa/drivers/x11/xm_dd.c +++ b/src/mesa/drivers/x11/xm_dd.c @@ -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); } |