Sfoglia il codice sorgente

mac-syphon: Fix unused parameter warning

tytan652 3 anni fa
parent
commit
e4f004cdf8
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  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)