Ejemplo n.º 1
0
 /// <summary>
 /// Called internally to update the window GL settings and regenerate anything needed.
 /// </summary>
 void Windowupdatehandle()
 {
     tryingUpdate = false;
     if (Window.Width < 10 || Window.Height < 10)
     {
         return;
     }
     GL.Viewport(0, 0, Window.Width, Window.Height);
     MainWorldView.Generate(Engine, Window.Width, Window.Height);
     FixInvRender();
     TWOD_FixTexture();
 }
Ejemplo n.º 2
0
 void windowupdatehandle()
 {
     GL.Viewport(0, 0, Window.Width, Window.Height);
     MainWorldView.Generate(this, Window.Width, Window.Height);
     FixInvRender();
 }