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)