mirror of
https://github.com/celisej567/mcpe.git
synced 2026-09-11 20:11:18 +03:00
* Fix bad GUI scale setup.
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -381,6 +381,5 @@ FodyWeavers.xsd
|
||||
/windows_vs/assetsO
|
||||
|
||||
/wasm
|
||||
/emsdk
|
||||
|
||||
/assets/
|
||||
|
||||
@@ -167,7 +167,7 @@ void GameRenderer::setupGuiScreen()
|
||||
glClear(GL_ACCUM);
|
||||
glMatrixMode(GL_PROJECTION);
|
||||
glLoadIdentity();
|
||||
xglOrthof(0, float(int(x)), float(int(y)), 0, 2000.0f, 3000.0f);
|
||||
xglOrthof(0, x, y, 0, 2000.0f, 3000.0f);
|
||||
glMatrixMode(GL_MODELVIEW);
|
||||
glLoadIdentity();
|
||||
glTranslatef(0.0f, 0.0f, -2000.0f);
|
||||
|
||||
Reference in New Issue
Block a user