Prefetch buffers in rlVertex3f
This commit is contained in:
parent
c1ab645ca2
commit
c259e30b4f
0
currentBuffer
Normal file
0
currentBuffer
Normal file
|
|
@ -1491,6 +1491,9 @@ void rlEnd(void)
|
|||
// NOTE: Vertex position data is the basic information required for drawing
|
||||
void rlVertex3f(float x, float y, float z)
|
||||
{
|
||||
_mm_prefetch(RLGL.currentBatch->vertexBuffer + RLGL.currentBatch->currentBuffer, 1);
|
||||
_mm_prefetch(RLGL.currentBatch->draws + RLGL.currentBatch->drawCounter - 1, 0);
|
||||
|
||||
float tx = x;
|
||||
float ty = y;
|
||||
float tz = z;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user