From 766bb7f5ccf4ac9294fab92a5126c60c0fa8d818 Mon Sep 17 00:00:00 2001
From: Tanner Rogalsky <tanner@tannerrogalsky.com>
Date: Thu, 14 Jan 2021 10:38:12 -0500
Subject: Fix `physical_width` getter incorrectly returning the height

---
 graphics/src/viewport.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/graphics/src/viewport.rs b/graphics/src/viewport.rs
index 78d539af..2c0b541a 100644
--- a/graphics/src/viewport.rs
+++ b/graphics/src/viewport.rs
@@ -31,7 +31,7 @@ impl Viewport {
 
     /// Returns the physical width of the [`Viewport`].
     pub fn physical_width(&self) -> u32 {
-        self.physical_size.height
+        self.physical_size.width
     }
 
     /// Returns the physical height of the [`Viewport`].
-- 
cgit