• Hello [name]! Thanks for joining the GMC. Before making any posts in the Tech Support forum, can we suggest you read the forum rules? These are simple guidelines that we ask you to follow so that you can get the best help possible for your issue.

Legacy GM Inconsistent sprite_get_texture() behaviour cross PC and Android

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.