소스 검색

obs-filters: Fix unused parameters

jpark37 4 년 전
부모
커밋
0e803c4443
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  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);
 }