diff options
author | Keith Whitwell <keith@tungstengraphics.com> | 2006-09-20 14:54:49 +0000 |
---|---|---|
committer | Keith Whitwell <keith@tungstengraphics.com> | 2006-09-20 14:54:49 +0000 |
commit | e38114a5e4492684333251eb22bc60ee1038de55 (patch) | |
tree | 15492e3a2e1aae4bd21f70521f424d11311baeeb /src/mesa/drivers/dri/i965/brw_tex.c | |
parent | b35121d54df4bb8700c4135203162c1d79ca637d (diff) |
Support ARB_texture_rectangle.
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_tex.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_tex.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_tex.c b/src/mesa/drivers/dri/i965/brw_tex.c index d70b2ea87a..78d351407d 100644 --- a/src/mesa/drivers/dri/i965/brw_tex.c +++ b/src/mesa/drivers/dri/i965/brw_tex.c @@ -75,7 +75,9 @@ brwChooseTextureFormat( GLcontext *ctx, GLint internalFormat, case GL_RGB5: case GL_RGB4: case GL_R3_G3_B2: -/* return &_mesa_texformat_rgb888; */ + /* Broadwater doesn't support RGB textures, so these must be + * stored as ARGB. + */ return &_mesa_texformat_argb8888; case GL_ALPHA: |