summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texobj.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2012-01-03 17:48:12 -0700
committerBrian Paul <[email protected]>2012-01-04 08:12:28 -0700
commit892a2542a3f0753a7064c710b96f077dd5490624 (patch)
treea70ccd8fce0b5213fa3307ed3d20390515837c32 /src/mesa/main/texobj.c
parent7b181d16c3b954bf567563e90e5e94bda833fab8 (diff)
mesa: remove unused _mesa_init_teximage_fields() target parameter
Reviewed-by: Ian Romanick <[email protected]> Reviewed-by: Yuanhan Liu <[email protected]>
Diffstat (limited to 'src/mesa/main/texobj.c')
-rw-r--r--src/mesa/main/texobj.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/texobj.c b/src/mesa/main/texobj.c
index 425cb5d84fd..7ee200585c4 100644
--- a/src/mesa/main/texobj.c
+++ b/src/mesa/main/texobj.c
@@ -793,7 +793,7 @@ _mesa_get_fallback_texture(struct gl_context *ctx)
GL_UNSIGNED_BYTE);
/* init the image fields */
- _mesa_init_teximage_fields(ctx, GL_TEXTURE_2D, texImage,
+ _mesa_init_teximage_fields(ctx, texImage,
8, 8, 1, 0, GL_RGBA, texFormat);
ASSERT(texImage->TexFormat != MESA_FORMAT_NONE);