public static void Render() { // Clear the screen graphics.SetClearColor(0.0f, 0.0f, 0.0f, 0.0f); graphics.Clear(); Input.UpdateGamepadState(); client.updateImage(); drawDesktop(); sceneMain.updateLabel("FPS: " + mFps.ToString()); UISystem.Render(); // Present the screen graphics.SwapBuffers(); //SampleDraw.ClearSprite(); }
public static void Render() { // Clear the screen graphics.Clear(); if (client.isConnected == true) { Input.UpdateGamepadState(); client.updateImage(); drawDesktop(); } else { Draw.renderTest(); } sceneMain.UpdateFPSLabel("FPS: " + mFps.ToString()); UISystem.Render(); // Present the screen graphics.SwapBuffers(); //SampleDraw.ClearSprite(); }