projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e795bd3
)
radeon: add cpp/pitch to rrb
author
Dave Airlie
<airlied@linux.ie>
Sat, 21 Mar 2009 08:07:33 +0000
(18:07 +1000)
committer
Dave Airlie
<airlied@linux.ie>
Sat, 21 Mar 2009 08:07:33 +0000
(18:07 +1000)
src/mesa/drivers/dri/radeon/radeon_fbo.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/radeon/radeon_fbo.c
b/src/mesa/drivers/dri/radeon/radeon_fbo.c
index 0e3ac9c405721c8dddd7b99917c0cb564f4ca45b..110afb7450767a596ea307ee255caabed9337e03 100644
(file)
--- a/
src/mesa/drivers/dri/radeon/radeon_fbo.c
+++ b/
src/mesa/drivers/dri/radeon/radeon_fbo.c
@@
-182,6
+182,8
@@
radeon_alloc_renderbuffer_storage(GLcontext * ctx, struct gl_renderbuffer *rb,
/* TODO Alloc a BO */
uint32_t size = width * height * cpp;
+ rrb->pitch = width * cpp;
+ rrb->cpp = cpp;
rrb->bo = radeon_bo_open(radeon->radeonScreen->bom,
0,
size,