diff options
| author | Markus Wick <degasus@users.noreply.github.com> | 2016-09-23 10:24:55 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-09-23 10:24:55 +0200 |
| commit | 9d85d9b000ee20f65ba7679488465624fcd1cd3a (patch) | |
| tree | 8bb2f27495e411254fd8474c989667bc7360e859 /Source/Core/VideoBackends/Software/NativeVertexFormat.h | |
| parent | 2d0e857cb3cd132a082958cbda32aa0b350652d0 (diff) | |
| parent | 330944eef89a28c08a0227a9a166f583532ae906 (diff) | |
Merge pull request #4237 from lioncash/const
Software: const correctness
Diffstat (limited to 'Source/Core/VideoBackends/Software/NativeVertexFormat.h')
| -rw-r--r-- | Source/Core/VideoBackends/Software/NativeVertexFormat.h | 2 |
1 files changed, 1 insertions, 1 deletions
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) |
