mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-05 13:01:52 +00:00
SwapChain.AspectRatio fix
This commit is contained in:
@@ -53,7 +53,7 @@ namespace GlitchyEngine.Renderer
|
||||
/**
|
||||
* Gets the aspect ratio of the backbuffer.
|
||||
*/
|
||||
public float AspectRatio => _width / _height;
|
||||
public float AspectRatio => (float)_width / _height;
|
||||
|
||||
public Viewport BackbufferViewport => _backBufferViewport;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user