diff options
| author | Ray <[email protected]> | 2021-10-06 01:20:46 +0200 |
|---|---|---|
| committer | Ray <[email protected]> | 2021-10-06 01:20:46 +0200 |
| commit | 8d7f97ee04c1908caf703771bd3576ef5f26b3c1 (patch) | |
| tree | d3d54c266b45fbdec20d25c6511eda6658a2f92d /src/rlgl.h | |
| parent | 9a4fb252858d3754f347b22fb88f2d507fc847b3 (diff) | |
| download | raylib-8d7f97ee04c1908caf703771bd3576ef5f26b3c1.tar.gz raylib-8d7f97ee04c1908caf703771bd3576ef5f26b3c1.zip | |
Remove trailing spaces
Diffstat (limited to 'src/rlgl.h')
| -rw-r--r-- | src/rlgl.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -851,7 +851,7 @@ typedef struct rlglData { float texcoordx, texcoordy; // Current active texture coordinate float normalx, normaly, normalz; // Current active normal unsigned char colorr, colorg, colorb, colora; // Current active color - + int currentMatrixMode; // Current matrix mode Matrix *currentMatrix; // Current matrix pointer Matrix modelview; // Default modelview matrix @@ -1296,15 +1296,15 @@ void rlVertex3f(float x, float y, float z) // Add current normal // TODO. - + // Add current color RLGL.currentBatch->vertexBuffer[RLGL.currentBatch->currentBuffer].colors[4*RLGL.State.vertexCounter] = RLGL.State.colorr; RLGL.currentBatch->vertexBuffer[RLGL.currentBatch->currentBuffer].colors[4*RLGL.State.vertexCounter + 1] = RLGL.State.colorg; RLGL.currentBatch->vertexBuffer[RLGL.currentBatch->currentBuffer].colors[4*RLGL.State.vertexCounter + 2] = RLGL.State.colorb; RLGL.currentBatch->vertexBuffer[RLGL.currentBatch->currentBuffer].colors[4*RLGL.State.vertexCounter + 3] = RLGL.State.colora; - + RLGL.State.vertexCounter++; - + RLGL.currentBatch->draws[RLGL.currentBatch->drawCounter - 1].vertexCount++; } else TRACELOG(RL_LOG_ERROR, "RLGL: Batch elements overflow"); |
