shithub: ft²

Download patch

ref: 538e1310ee14f65289be5a58ee2ed4d243ecac92
parent: a70bb0a799ec52b062b43039c4b3b9978ae233a3
author: Olav Sørensen <olav.sorensen@live.no>
date: Thu Mar 2 11:42:42 EST 2023

Removed unused macros

--- a/src/scopes/ft2_scope_macros.h
+++ b/src/scopes/ft2_scope_macros.h
@@ -187,16 +187,6 @@
 #define SCOPE_DRAW_SMP \
 	video.frameBuffer[((lineY - sample) * SCREEN_W) + x] = color;
 
-#define LINED_SCOPE_PREPARE_SMP8 \
-	SCOPE_GET_SMP8 \
-	y1 = lineY - sample; \
-	SCOPE_UPDATE_DRAWPOS
-
-#define LINED_SCOPE_PREPARE_SMP16 \
-	SCOPE_GET_SMP16 \
-	y1 = lineY - sample; \
-	SCOPE_UPDATE_DRAWPOS
-
 #define LINED_SCOPE_PREPARE_LERP_SMP8 \
 	SCOPE_GET_LERP_SMP8 \
 	y1 = lineY - sample; \