Bug 16406

Summary: bad size calculation in r200TryDrawPixels
Product: Mesa Reporter: Eric Anholt <eric>
Component: Drivers/DRI/r200Assignee: Default DRI bug account <dri-devel>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: git   
Hardware: Other   
OS: FreeBSD   
Whiteboard:
i915 platform: i915 features:

Description Eric Anholt 2008-06-17 22:58:34 UTC
While looking at #15696, I noticed the same issue in the r200 driver.

GLint size = width * pitch * cpp;

ITYM s/width/height/
Comment 1 Roland Scheidegger 2008-06-20 17:57:29 UTC
Thanks for spotting this. With the driver only supporting blits in combination with the special mesa allocator, this path doesn't really get hit often (==never). Fixed.
Comment 2 Adam Jackson 2009-08-24 12:30:26 UTC
Mass version move, cvs -> git

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.