diff --git a/src/rlgl.c b/src/rlgl.c index d76f90bb3..a937bdec3 100644 --- a/src/rlgl.c +++ b/src/rlgl.c @@ -251,7 +251,7 @@ static Matrix projection; static Matrix *currentMatrix; static int currentMatrixMode; -static DrawMode currentDrawMode; +static int currentDrawMode; static float currentDepth = -1.0f;