conform/pick: Print debug spew only if verbosity is toggled

This commit is contained in:
Emmanuele Bassi 2011-07-08 12:12:43 +01:00
parent 96440acffe
commit 73b043630d

View File

@ -47,7 +47,8 @@ shader_paint (ClutterEffect *effect,
ClutterActor *actor =
clutter_actor_meta_get_actor (CLUTTER_ACTOR_META (effect));
g_debug ("shader_paint");
if (g_test_verbose ())
g_debug ("shader_paint");
clutter_shader_effect_set_shader_source (shader,
"uniform sampler2D tex;\n"