Parcourir la source

Corrected issue with matrices

Matrix stack system should be reviewed but, in the meantime,
currentMatrix should be reseted in order of 3d to work
pull/432/head
Ray il y a 7 ans
Parent
révision
c37d2d448d
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. +1
    -1
      src/rlgl.c

+ 1
- 1
src/rlgl.c Voir le fichier

@ -414,7 +414,7 @@ void rlPushMatrix(void)
}
stack[stackCounter] = *currentMatrix;
// rlLoadIdentity();
rlLoadIdentity(); // TODO: Review matrix stack logic!
stackCounter++;
if (currentMatrixMode == RL_MODELVIEW) useTempBuffer = true;

Chargement…
Annuler
Enregistrer