From 2d73ed400fd29e96e4ebf17f94708ec4ce3e2c04 Mon Sep 17 00:00:00 2001
From: Matthew Owens <matthew@owens.tech>
Date: Fri, 2 Oct 2020 11:51:25 +0100
Subject: [PATCH] testing displaymode output

---
 src/main.c | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/src/main.c b/src/main.c
index 237d63c..5a2d9a8 100644
--- a/src/main.c
+++ b/src/main.c
@@ -225,9 +225,12 @@ int main()
 	if(!init()) { return 1; }
 
 	int w, h;
+	SDL_DisplayMode dm;
+	SDL_GetCurrentDisplayMode(0, &dm);
 	SDL_GetRendererOutputSize(renderer, &w, &h);
-	COUT("output size: (%d, %d)", w, h);
-
+	COUT("renderer output size: (%d, %d)", w, h);
+	COUT("dm output size: (%d, %d)", dm.w, dm.h);
+	return 0;
 	while(!quit) {
 		update();
 		render();
-- 
2.20.1