NativeVertexFormat: const correctness

This commit is contained in:
Lioncash 2016-09-22 20:52:35 -04:00
parent 5f1e444c28
commit eb574e7bac

View File

@ -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)