Ejemplo n.º 1
0
        public static bool Render()
        {
            graphics.SetViewport(0, 0, graphics.GetFrameBuffer().Width, graphics.GetFrameBuffer().Height);
            graphics.SetClearColor(0.0f, 0.0f, 0.0f, 0.0f);
            graphics.Clear();

            SampleDraw.DrawText("Image Sample", 0xffffffff, 0, 0);
            SampleDraw.DrawSprites();

            graphics.SwapBuffers();

            return(true);
        }