From eb574e7bacc9a07ab9da3c87eb62e1f42c7e6406 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Thu, 22 Sep 2016 20:52:35 -0400 Subject: [PATCH] NativeVertexFormat: const correctness --- Source/Core/VideoBackends/Software/NativeVertexFormat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/VideoBackends/Software/NativeVertexFormat.h b/Source/Core/VideoBackends/Software/NativeVertexFormat.h index a80ebc80bb..4da332b71b 100644 --- a/Source/Core/VideoBackends/Software/NativeVertexFormat.h +++ b/Source/Core/VideoBackends/Software/NativeVertexFormat.h @@ -44,7 +44,7 @@ struct OutputVertexData u8 color[2][4] = {}; Vec3 texCoords[8] = {}; - void Lerp(float t, OutputVertexData* a, OutputVertexData* b) + void Lerp(float t, const OutputVertexData* a, const OutputVertexData* b) { #define LINTERP(T, OUT, IN) (OUT) + ((IN - OUT) * T)