Hi there,
There is an error in the manual regarding sprite_get_texture.
The winding of the triangle trip is incorrect, giving the wrong output.
The example code should be as per below.
Error in manual (sprite_get_texture)
There is an error in the manual regarding sprite_get_texture.
The winding of the triangle trip is incorrect, giving the wrong output.

The example code should be as per below.
GML:
var _tex;
_tex =...