buffer_set_surface fix for GameMaker: Studio
A downloadable extension
This extension fixes the
buffer_set_surface function in GameMaker: Studio by providing a fallback implementation if the original function doesn't work.
How to use
Import the GMEZ file from itch (right-click on the Extensions folder in the resource tree, pick "Import extension") or download the example project (GMZ)
You don't have to replace any function calls - the extension will redirect calls to the original function automatically.
This function detects whether the original
buffer_set_surfacefunction works correctly and sets
It will be automatically ran when called
buffer_set_surfacefor the first time, but you can also run it yourself if you need to know whether the fallback function is going to be used without calling
This global variable indicates whether the fallback function is being used.
trueif it is,
falseif it isn't, and
buffer_set_surface_detecthave been called yet.
Click download now to get access to the following files:
Leave a comment
Log in with itch.io to leave a comment.