mirror of
https://github.com/raysan5/raylib.git
synced 2025-12-17 19:53:10 +00:00
Code tweak
This commit is contained in:
parent
6062201e8f
commit
c28a5fbd62
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user