Bug 15696

Summary: [i915] intelTryDrawPixels(): wrong calculation of data size
Product: Mesa Reporter: Christopher Dissauer <dizzy>
Component: Drivers/DRI/i915Assignee: haihao <haihao.xiang>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:

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.