Bug 15696 - [i915] intelTryDrawPixels(): wrong calculation of data size
Summary: [i915] intelTryDrawPixels(): wrong calculation of data size
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i915 (show other bugs)
Version: unspecified
Hardware: All All
: medium normal
Assignee: haihao
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-24 12:29 UTC by Christopher Dissauer
Modified: 2008-06-17 22:55 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Christopher Dissauer 2008-04-24 12:29:23 UTC
In intelTryDrawPixels() (in file intel_pixel.c), the data size for the AGP memory check is calculated incorrectly:

GLint size = width * pitch * cpp;

I assume it should be something like this:

GLint size = height * pitch * cpp;
Comment 1 haihao 2008-06-17 22:55:42 UTC
fixed in mesa_7_0_branch (5b42bbce70ea093ee9a0e8fa7a0d42ddc4143832)


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.