YoYoGames / GameMaker-HTML5

GameMaker HTML5 runtime

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bug: vertex_freeze does not return status code as documented

caroparo opened this issue · comments

WebGL_vertex_freeze_RELEASE always returns undefined.

function WebGL_vertex_freeze_RELEASE(_buffer) {

This behavior is different from Windows platform's and what the documentation described.
https://manual-en.yoyogames.com/#t=GameMaker_Language%2FGML_Reference%2FDrawing%2FPrimitives%2Fvertex_freeze.htm

Also: freezing the same vbuffer multiple times seems to cause issues so the vbuff cannot be rendered.