Bug 16406 - bad size calculation in r200TryDrawPixels
Summary: bad size calculation in r200TryDrawPixels
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/r200 (show other bugs)
Version: git
Hardware: Other FreeBSD
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-17 22:58 UTC by Eric Anholt
Modified: 2009-08-24 12:30 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.