.getRendererRecord();
JoglRendererUtil.switchMode(matRecord, GLMatrixFunc.GL_PROJECTION);
matRecord.getMatrixBackend().pushMatrix();
matRecord.getMatrixBackend().loadIdentity();
final Camera camera = Camera.getCurrentCamera();
final double viewportWidth = camera.getWidth() * (camera.getViewPortRight() - camera.getViewPortLeft());
final double viewportHeight = camera.getHeight() * (camera.getViewPortTop() - camera.getViewPortBottom());
matRecord.getMatrixBackend().setOrtho(0, viewportWidth, 0, viewportHeight, -1, 1);
JoglRendererUtil.switchMode(matRecord, GLMatrixFunc.GL_MODELVIEW);
matRecord.getMatrixBackend().pushMatrix();
matRecord.getMatrixBackend().loadIdentity();
_inOrthoMode = true;