llvmpipe: update image dump/debug code
This commit is contained in:
parent
bd34f61a7a
commit
47ecb51eb4
|
@ -31,6 +31,7 @@
|
|||
|
||||
|
||||
#include "pipe/p_defines.h"
|
||||
#include "util/u_string.h"
|
||||
#include "draw/draw_context.h"
|
||||
#include "lp_flush.h"
|
||||
#include "lp_context.h"
|
||||
|
@ -71,7 +72,7 @@ llvmpipe_flush( struct pipe_context *pipe,
|
|||
}
|
||||
|
||||
/* Enable to dump BMPs of the color/depth buffers each frame */
|
||||
#if 0
|
||||
if (0) {
|
||||
if (flags & PIPE_FLUSH_FRAME) {
|
||||
static unsigned frame_no = 1;
|
||||
char filename[256];
|
||||
|
@ -89,7 +90,7 @@ llvmpipe_flush( struct pipe_context *pipe,
|
|||
|
||||
++frame_no;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue