diff options
author | Vladimir Dergachev <volodya@freedesktop.org> | 2005-01-05 00:18:46 +0000 |
---|---|---|
committer | Vladimir Dergachev <volodya@freedesktop.org> | 2005-01-05 00:18:46 +0000 |
commit | e99f390ff6b46495625b207e0e51f9431a564866 (patch) | |
tree | 8c4d14e3087c10e16aa227650b7cd38549bcf4f1 /src/mesa/drivers/dri/r300/r300_tex.c | |
parent | 065f725672434319da6e5d91cc17c37a2e9c50eb (diff) |
Play a little bit with texture formats.
Get NeHe demos 06, 07 and 19 working.
Diffstat (limited to 'src/mesa/drivers/dri/r300/r300_tex.c')
-rw-r--r-- | src/mesa/drivers/dri/r300/r300_tex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_tex.c b/src/mesa/drivers/dri/r300/r300_tex.c index d32b9f0288..7577eb8ddd 100644 --- a/src/mesa/drivers/dri/r300/r300_tex.c +++ b/src/mesa/drivers/dri/r300/r300_tex.c @@ -318,7 +318,7 @@ static const struct gl_texture_format *r300ChooseTextureFormat(GLcontext * ctx, const GLboolean force16bpt = (rmesa->texture_depth == DRI_CONF_TEXTURE_DEPTH_FORCE_16); (void)format; - + switch (internalFormat) { case 4: case GL_RGBA: |