Explorar o código

mac-syphon: Fix unused parameter warning

tytan652 %!s(int64=3) %!d(string=hai) anos
pai
achega
e4f004cdf8
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      plugins/mac-syphon/syphon.m

+ 2 - 0
plugins/mac-syphon/syphon.m

@@ -680,6 +680,8 @@ static inline void build_sprite_rect(struct gs_vb_data *data, float origin_x,
 
 static void syphon_video_tick(void *data, float seconds)
 {
+	UNUSED_PARAMETER(seconds);
+
 	syphon_t s = data;
 
 	if (!s->tex)