Explorar o código

Graphics: leave vsync up to the caller

Streetwalrus Einstein %!s(int64=10) %!d(string=hai) anos
pai
achega
d44021d4d3
Modificáronse 1 ficheiros con 0 adicións e 3 borrados
  1. 0 3
      src/graphics.c

+ 0 - 3
src/graphics.c

@@ -48,8 +48,6 @@ void buffer_free()
 
 void buffer_swap()
 {
-	lcd_vsync();
-
 	unsigned short *buffer_front_tmp = buffer_front;
 	buffer_front = buffer_back;
 	buffer_back = buffer_front_tmp;
@@ -59,7 +57,6 @@ void buffer_swap()
 
 void buffer_copy()
 {
-	lcd_vsync();
 	memcpy(buffer_front, buffer_back, BUFFER_SIZE);
 }