radeon: protect fbo allocation message with debug
fixes fdo bug 25708 Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user