mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-01-23 09:34:35 -05:00
oops
This commit is contained in:
parent
32c135ea5d
commit
b2941dd4b6
1 changed files with 1 additions and 1 deletions
|
@ -230,7 +230,7 @@ static cc_bool gfx_hadFog;
|
||||||
void Gfx_Begin2D(int width, int height) {
|
void Gfx_Begin2D(int width, int height) {
|
||||||
struct Matrix ortho;
|
struct Matrix ortho;
|
||||||
// intentionally biased more towards positive Z to reduce 2D clipping issues on the DS
|
// intentionally biased more towards positive Z to reduce 2D clipping issues on the DS
|
||||||
Gfx_CalcOrthoMatrix(&ortho, (float)width, (float)height, -10.0f, 100.0f);
|
Gfx_CalcOrthoMatrix(&ortho, (float)width, (float)height, -100.0f, 1000.0f);
|
||||||
Gfx_LoadMatrix(MATRIX_PROJECTION, &ortho);
|
Gfx_LoadMatrix(MATRIX_PROJECTION, &ortho);
|
||||||
Gfx_LoadIdentityMatrix(MATRIX_VIEW);
|
Gfx_LoadIdentityMatrix(MATRIX_VIEW);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue