Commit 2deb1a05 authored by Timm Bäder's avatar Timm Bäder 👎

gl renderer: Add some often needed debug code

parent 8ca46169
......@@ -1444,6 +1444,16 @@ blur_texture (GskGLRenderer *self,
{ { texture_to_blur_width, }, { 1, 1 }, },
});
#if 0
{
static int k;
ops_dump_framebuffer (builder,
g_strdup_printf ("blurred%d.png", k++),
texture_to_blur_width,
texture_to_blur_height);
}
#endif
ops_set_render_target (builder, prev_render_target);
ops_set_viewport (builder, &prev_viewport);
ops_set_projection (builder, &prev_projection);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment