diff options
author | Vladimir Dergachev <volodya@freedesktop.org> | 2005-01-15 19:33:19 +0000 |
---|---|---|
committer | Vladimir Dergachev <volodya@freedesktop.org> | 2005-01-15 19:33:19 +0000 |
commit | 76de160b642aa7eac41db05883a9c6b414d17cb5 (patch) | |
tree | 2848e3f49983528268af4a1483430faa8539257f /src/mesa/drivers/dri/r300/r300_tex.c | |
parent | b5f49e6f91664a82f2356d667eaa8504ba56b7c0 (diff) |
On the way to getting stencil and texture formats working.
Looks like the matter of texture formats is a lot simpler, with the wrong
display in quake explained by the fact that we are not handling texture combine modes.
Diffstat (limited to 'src/mesa/drivers/dri/r300/r300_tex.c')
-rw-r--r-- | src/mesa/drivers/dri/r300/r300_tex.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_tex.c b/src/mesa/drivers/dri/r300/r300_tex.c index 884d42cf47..737db509a4 100644 --- a/src/mesa/drivers/dri/r300/r300_tex.c +++ b/src/mesa/drivers/dri/r300/r300_tex.c @@ -317,6 +317,13 @@ static const struct gl_texture_format *r300ChooseTextureFormat(GLcontext * ctx, (rmesa->texture_depth == DRI_CONF_TEXTURE_DEPTH_FORCE_16); (void)format; + #if 0 + fprintf(stderr, "InternalFormat=%s type=%s format=%s\n", + _mesa_lookup_enum_by_nr(internalFormat), + _mesa_lookup_enum_by_nr(type), + _mesa_lookup_enum_by_nr(format)); + #endif + switch (internalFormat) { case 4: case GL_RGBA: |