Mesa (master): intel: Drop stale comment about CopyTexSubImage.

Eric Anholt anholt at kemper.freedesktop.org
Mon Sep 26 22:38:35 UTC 2011


Module: Mesa
Branch: master
Commit: b4721bf711df5a18489939b373b5e3fa10d28daa
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b4721bf711df5a18489939b373b5e3fa10d28daa

Author: Eric Anholt <eric at anholt.net>
Date:   Wed Sep 21 16:43:08 2011 -0700

intel: Drop stale comment about CopyTexSubImage.

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 at whitecape.org>

---

 src/mesa/drivers/dri/intel/intel_tex_image.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/src/mesa/drivers/dri/intel/intel_tex_image.c b/src/mesa/drivers/dri/intel/intel_tex_image.c
index be328d1..060f22c 100644
--- a/src/mesa/drivers/dri/intel/intel_tex_image.c
+++ b/src/mesa/drivers/dri/intel/intel_tex_image.c
@@ -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");




More information about the mesa-commit mailing list