Browse Source

obs-filters: Fix unused parameters

jpark37 4 years ago
parent
commit
0e803c4443
1 changed files with 4 additions and 0 deletions
  1. 4 0
      plugins/obs-filters/luma-key-filter.c

+ 4 - 0
plugins/obs-filters/luma-key-filter.c

@@ -137,11 +137,15 @@ static void luma_key_render_internal(void *data, bool srgb)
 
 static void luma_key_render_v1(void *data, gs_effect_t *effect)
 {
+	UNUSED_PARAMETER(effect);
+
 	luma_key_render_internal(data, false);
 }
 
 static void luma_key_render_v2(void *data, gs_effect_t *effect)
 {
+	UNUSED_PARAMETER(effect);
+
 	luma_key_render_internal(data, true);
 }