intel: Drop stale comment about CopyTexSubImage.
authorEric Anholt <eric@anholt.net>
Wed, 21 Sep 2011 23:43:08 +0000 (16:43 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 26 Sep 2011 22:33:42 +0000 (15:33 -0700)
We get called for TexImage higher up, and in a relatively normal way
(pixels == NULL is common for FBO setup).

Acked-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/intel/intel_tex_image.c

index be328d1aa30b3f65288109589ce1d0cdeeb23579..060f22c3dc3e52c818f98475a5448f004ccd08f3 100644 (file)
@@ -403,10 +403,6 @@ intelTexImage(struct gl_context * ctx,
       return;
    }
 
-   /* intelCopyTexImage calls this function with pixels == NULL, with
-    * the expectation that the mipmap tree will be set up but nothing
-    * more will be done.  This is where those calls return:
-    */
    pixels = _mesa_validate_pbo_teximage(ctx, dims, width, height, 1,
                                        format, type,
                                        pixels, unpack, "glTexImage");