From fdef5bff99e6079f64bc6b91c91b42195c85adeb Mon Sep 17 00:00:00 2001 From: marha Date: Mon, 2 Jul 2012 08:47:42 +0200 Subject: mesa pixman xserver git update 2 Jul 2012 --- mesalib/src/mesa/state_tracker/st_cb_fbo.c | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'mesalib/src/mesa/state_tracker/st_cb_fbo.c') diff --git a/mesalib/src/mesa/state_tracker/st_cb_fbo.c b/mesalib/src/mesa/state_tracker/st_cb_fbo.c index 10f4e09cf..e1818abb9 100644 --- a/mesalib/src/mesa/state_tracker/st_cb_fbo.c +++ b/mesalib/src/mesa/state_tracker/st_cb_fbo.c @@ -57,10 +57,6 @@ #include "util/u_surface.h" -/** Set to 1 to enable extra debug code */ -#define ST_DEBUG_FBO 0 - - static GLboolean st_renderbuffer_alloc_sw_storage(struct gl_context * ctx, struct gl_renderbuffer *rb, @@ -480,9 +476,9 @@ st_finish_render_texture(struct gl_context *ctx, static void st_fbo_invalid(const char *reason) { -#if ST_DEBUG_FBO - debug_printf("Invalid FBO: %s\n", reason); -#endif + if (MESA_DEBUG_FLAGS & DEBUG_INCOMPLETE_FBO) { + _mesa_debug(NULL, "Invalid FBO: %s\n", reason); + } } -- cgit v1.2.3