View Issue Details

IDProjectCategoryView StatusLast Update
0024691Runner[All Projects] MacPublic2017-03-02 15:33
ReporterMark AlexanderAssigned ToPeter Hall 
PriorityMediumSeverityC - GeneralReproducibility100%
Status ClosedResolutionFixed 
Product Version 
Target VersionFixed in Version 
Summary0024691: Mac: display_get_width/height return window size, not display size
DescriptionIf you use the functions display_get_width or display_get_height on the macOS target, it returns the size of the game window and not the actual display.

Tested on macOS Sierra using GMS2 2.0.1.33 and on GM:S 7.7.1354

(this is really annoying as I'm prepping my game for launch on Steam for Mac and PC, and I rely on this for scaling the game correctly to fit the display aspect ratio)
Steps To ReproduceRun the supplied project on macOS.
Messages should all show the same set of values.
1.4 Found In
2.x Runtime Found In2.0.1.16
2.x Runtime Verified In

Activities

Peter Hall

2016-11-23 11:53

Developer   ~0050392

Should now return the display resolution.

Have tried to keep the change to a minimally invasive change...

Ross Manthorp

2017-03-02 15:33

Adminstrator   ~0051900

Verified. Closed.