Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Gameframe

Custom window frame for GameMaker games · By YellowAfterlife

Trying to use non-existing surface.

A topic by Stezzu created Mar 10, 2025 Views: 67 Replies: 2
Viewing posts 1 to 2

Basically when I go to resize the screen and try to make a transition the game crashes saying "Trying to use non-existing surface.",

Does this extension also cover this case?

Developer

Surfaces are usually destroyed when renderer state changes - like switching between exclusive fullscreen and windowed mode on multi-monitor systems, minimizing the window, or if the display/GPU get unplugged.

Using borderless/non-exclusive fullscreen with or without Gameframe helps avoid some of these scenarios, but ultimately you should use surface_exists and re-create the surfaces before using them if they’re gone.

Understood! Thank you! ✌🏻