mirror of
https://github.com/raysan5/raylib.git
synced 2026-02-01 03:39:18 -05:00
Code tweak
This commit is contained in:
@ -184,7 +184,7 @@ int main(void)
|
|||||||
|
|
||||||
rlMatrixMode(RL_PROJECTION); // Enable internal projection matrix
|
rlMatrixMode(RL_PROJECTION); // Enable internal projection matrix
|
||||||
rlLoadIdentity(); // Reset internal projection matrix
|
rlLoadIdentity(); // Reset internal projection matrix
|
||||||
rlOrtho(0.0, screenWidth, screenHeight, 0.0, 0.0, 1.0); // Recalculate internal projection matrix
|
rlOrtho(0.0, screenWidth/2, screenHeight, 0.0, 0.0, 1.0); // Recalculate internal projection matrix
|
||||||
rlMatrixMode(RL_MODELVIEW); // Enable internal modelview matrix
|
rlMatrixMode(RL_MODELVIEW); // Enable internal modelview matrix
|
||||||
rlLoadIdentity(); // Reset internal modelview matrix
|
rlLoadIdentity(); // Reset internal modelview matrix
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user