Mr. Unp3rf3ct
Member
So basically I am bad with shaders, so I can't really explain it well, but here is my issue:
using vertex_submit() to draw a sprite created from a surface bahaves different on Windows and on Android. On Windows the wrong size is used (e.g. sprite is 200x300, but is displayed with transparent space around it making it 400x600).
On Android it's working as I presume it should (e.g. sprite is 200x300 and is drawn as such without transparent space around it).
If I use a sprite added through the asset tree it works perfectly on both platforms, so I don't really know what I can do to fix it...
I'd really appreciate your help, even with my vague explenation. It's currently hindering me to expand from Android to PC.
using vertex_submit() to draw a sprite created from a surface bahaves different on Windows and on Android. On Windows the wrong size is used (e.g. sprite is 200x300, but is displayed with transparent space around it making it 400x600).
On Android it's working as I presume it should (e.g. sprite is 200x300 and is drawn as such without transparent space around it).
If I use a sprite added through the asset tree it works perfectly on both platforms, so I don't really know what I can do to fix it...
I'd really appreciate your help, even with my vague explenation. It's currently hindering me to expand from Android to PC.