how exactly do you get this working on HTML. Works on Windows no problem, but trying to use the same setup when testing on HTML either displays nothing or garbage data. WhatdidIdo.
It does seem like on the current GM version buffer_[get|set]_surface functions are once again broken on WebGL so it works only with WebGL disabled (Global Game Settings - HTML5 - Graphics)