http://bugs.freedesktop.org/show_bug.cgi?id=21648
Summary: [radeon-rewrite] TexImage2D, SGIS_generate_mipmap,
pixels=NULL
Product: Mesa
Version: unspecified
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/DRI/Radeon
AssignedTo: [email protected]
ReportedBy: [email protected]
When mipmap generation is enabled, if NULL is passed for pixels to TexImage2D,
then then a crash occurs because the code attempts to generate a mipmap but
there is no source data for the image yet.
Note: I updated TexSubImage2D correspondingly, even though pixels=NULL is not
allowed for TexSubImage2D, for code consistency and because it appears that
pixels=NULL is not currently caught by the wrapper code and is otherwise a
no-op, so it's better not to crash just for this.
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel