HTML5 Does draw_getpixel() work on HTML5?

matharoo

manualman
GameMaker Dev.
The docs don't say anything about it, so I'm asking here. Is that function supposed to work on HTML5? For me it only returns black (0).

Edit: Just tried surface_getpixel() with the application_surface and it works. Still curious about why draw_getpixel() wouldn't work, though...
 

chmod777

Member
Indeed, it seems it always returns black when WebGL is disabled, but works as expected when it is enabled.
 
Top