From 53187e0c67d1587b7c0574085613fd704ea25f6c Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Thu, 1 Apr 2021 22:49:07 -0500 Subject: [PATCH] [nostalgia/core] Make screen size function nodiscard --- src/nostalgia/core/gfx.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/nostalgia/core/gfx.hpp b/src/nostalgia/core/gfx.hpp index ded871c83..a06d47f49 100644 --- a/src/nostalgia/core/gfx.hpp +++ b/src/nostalgia/core/gfx.hpp @@ -76,10 +76,13 @@ ox::Error initGfx(Context *ctx); ox::Error shutdownGfx(Context *ctx); +[[nodiscard]] int getScreenWidth(Context *ctx); +[[nodiscard]] int getScreenHeight(Context *ctx); +[[nodiscard]] common::Size getScreenSize(Context *ctx); [[nodiscard]]