1
0
mirror of synced 2025-01-31 03:53:44 +01:00
This commit is contained in:
0auBSQ 2024-08-12 16:03:56 +09:00
commit 19d4f629fc

View File

@ -417,15 +417,11 @@ namespace SampleFramework {
ViewPortOffset.X = (size.X - ViewPortSize.X) / 2;
ViewPortOffset.Y = (size.Y - ViewPortSize.Y) / 2;
WindowSize = size;
Gl.Viewport(ViewPortOffset.X, ViewPortOffset.Y, (uint)ViewPortSize.X, (uint)ViewPortSize.Y);
}
public void Window_Move(Vector2D<int> size) {
WindowPosition = size;
}
public void Window_Move(Vector2D<int> size) { }
public void Window_FramebufferResize(Vector2D<int> size) {
}
public void Window_FramebufferResize(Vector2D<int> size) { }
}
}