mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-02 22:29:21 +00:00
NativeVertexFormat: const correctness
This commit is contained in:
parent
5f1e444c28
commit
eb574e7bac
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ struct OutputVertexData
|
||||||
u8 color[2][4] = {};
|
u8 color[2][4] = {};
|
||||||
Vec3 texCoords[8] = {};
|
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)
|
#define LINTERP(T, OUT, IN) (OUT) + ((IN - OUT) * T)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue