Created
December 6, 2014 11:15
-
-
Save rossillingworth/05fb77f991c48f25565f to your computer and use it in GitHub Desktop.
GML - modify screen size for multiple devices
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if ( (view_wport != browser_width) || (view_hport != browser_height) ) | |
{ | |
view_xview[0] = 0; | |
view_yview[0] = 0; | |
view_wview[0] = browser_width | |
view_hview[0] = browser_height | |
view_xport[0] = 0; | |
view_yport[0] = 0; | |
view_wport[0] = browser_width | |
view_hport[0] = browser_height} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment