diff --git a/Velaptor/OpenGL/GLWindow.cs b/Velaptor/OpenGL/GLWindow.cs index 99d0bf9e1..48ae76ccc 100644 --- a/Velaptor/OpenGL/GLWindow.cs +++ b/Velaptor/OpenGL/GLWindow.cs @@ -420,11 +420,8 @@ private void Init(uint width, uint height) this.glInputContext.Mice[0].MouseMove += GLMouseMove_MouseMove; this.glInputContext.Mice[0].Scroll += GLMouseInput_MouseScroll; - // Manually invoke the resize to set the viewport - // This will make sure that no strange issues occur during initialization. - // One strange issue was without this line and a window size of exactly 1280 x 720, - // all rendering would not occur. This prevents this issue from occurring. - GLWindow_Resize(new Vector2D(1280, 720)); + // Manually invoke the resize to update the rest of the system such as the viewport. + GLWindow_Resize(new Vector2D((int)width, (int)height)); this.appService.Init(); }