private void onWindowInit() {
Config.maxPolysVisible = 100000;
TextureManager.getInstance().addTexture("yellow", new Texture(32, 32, Color.YELLOW));
buffer = new FrameBuffer(800, 600, FrameBuffer.SAMPLINGMODE_GL_AA_4X);
buffer.disableRenderer(IRenderer.RENDERER_SOFTWARE);
buffer.enableRenderer(IRenderer.RENDERER_OPENGL);
defeatMessage = "DEFEAT";
defeatDim = font.getStringBounds(defeatMessage);