mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 14:08:05 +02:00
radeon: protect fbo allocation message with debug
fixes fdo bug 25708 Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
This commit is contained in:
parent
c35e5c19e7
commit
c8de081dc1
1 changed files with 3 additions and 2 deletions
|
|
@ -166,8 +166,9 @@ radeon_alloc_renderbuffer_storage(GLcontext * ctx, struct gl_renderbuffer *rb,
|
|||
uint32_t size;
|
||||
uint32_t pitch = ((cpp * width + 63) & ~63) / cpp;
|
||||
|
||||
fprintf(stderr,"Allocating %d x %d radeon RBO (pitch %d)\n", width,
|
||||
height, pitch);
|
||||
if (RADEON_DEBUG & RADEON_MEMORY)
|
||||
fprintf(stderr,"Allocating %d x %d radeon RBO (pitch %d)\n", width,
|
||||
height, pitch);
|
||||
|
||||
size = pitch * height * cpp;
|
||||
rrb->pitch = pitch * cpp;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue