[nostalgia/core] Make screen size function nodiscard
This commit is contained in:
parent
786892dda1
commit
53187e0c67
@ -76,10 +76,13 @@ ox::Error initGfx(Context *ctx);
|
|||||||
|
|
||||||
ox::Error shutdownGfx(Context *ctx);
|
ox::Error shutdownGfx(Context *ctx);
|
||||||
|
|
||||||
|
[[nodiscard]]
|
||||||
int getScreenWidth(Context *ctx);
|
int getScreenWidth(Context *ctx);
|
||||||
|
|
||||||
|
[[nodiscard]]
|
||||||
int getScreenHeight(Context *ctx);
|
int getScreenHeight(Context *ctx);
|
||||||
|
|
||||||
|
[[nodiscard]]
|
||||||
common::Size getScreenSize(Context *ctx);
|
common::Size getScreenSize(Context *ctx);
|
||||||
|
|
||||||
[[nodiscard]]
|
[[nodiscard]]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user