GPU: Remove print statement when frame capturing
When frame capturing cannot be start an error is printed to the console. Most of the time the issue is that you're not running from within a frame capturing environment. For example not from your IDE/GPU debugger. The print statement is often just not that useful. Especially when running the `WITH_GPU_DRAW_TESTS` where it floods the console. Pull Request: https://projects.blender.org/blender/blender/pulls/119783
This commit is contained in:
parent
3039ea02c6
commit
463856e6c6
|
@ -85,9 +85,6 @@ void GPU_debug_capture_begin(const char *title)
|
|||
Context *ctx = Context::get();
|
||||
if (ctx && !ctx->debug_is_capturing) {
|
||||
ctx->debug_is_capturing = ctx->debug_capture_begin(title);
|
||||
if (!ctx->debug_is_capturing) {
|
||||
printf("Failed to start GPU frame capture!\n");
|
||||
}
|
||||
/* Call GPU_finish to ensure all desired GPU commands occur within the capture boundary. */
|
||||
GPU_finish();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue