http://bugs.freedesktop.org/show_bug.cgi?id=13395





------- Comment #4 from [EMAIL PROTECTED]  2007-11-28 05:12 PST -------
Brian, Ian, 
Thanks for the comments. Please note, that I am referring to glTexSubImage2D()
and not to glCompressedTexSubImage(), you cited in the reply.

The extension specification says, as far as the former function is concerned,
that the width, height *don't* have to ba a multiple of four, *if* xoffset =
yoffset = 0:
   * <width> is not a multiple of four or equal to TEXTURE_WIDTH, 
      unless <xoffset> and <yoffset> are both zero.

I think the teximage.c:subtexture_error_check2(), called in glTexSubImage2D(),
discriminates the above case. What is your opinion?

(To summarize: texture is loaded and compressed via glTexImage2D(), and
modified via glTexSubImage2D().)


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to