mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 06:48:06 +02:00
Fix initialization of pfPitch - measured in pixels, not bytes.
This commit is contained in:
parent
1c2c1c4560
commit
4fa3cf225f
1 changed files with 1 additions and 1 deletions
|
|
@ -380,7 +380,7 @@ intel_create_renderbuffer(GLenum intFormat, GLsizei width, GLsizei height,
|
|||
intel_set_span_functions(&irb->Base);
|
||||
|
||||
irb->pfMap = map;
|
||||
irb->pfPitch = pitch;
|
||||
irb->pfPitch = pitch / cpp; /* in pixels */
|
||||
|
||||
#if 00
|
||||
irb->region = intel_region_create_static(intel,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue