HeapsIO / heaps

Heaps : Haxe Game Framework

Home Page:http://heaps.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Samples break in JS

zhylmzr opened this issue · comments

  1. Remove old heaps version using haxelib.
  2. Clone the master 1936c9c to haxe libs directory and rename 1,10,0.
  3. Copy samples directory to ~/samples.
  4. In ~/samples, run haxe gen.hxml && cd build/base2D && haxe base2D_js.hxml.
  5. Open the index.html, the page is blank with many webgl warning:
    [.WebGL-0x138004bdc00] GL_INVALID_OPERATION: Vertex buffer is not big enough for the draw call

The version of hashlink work fine.

Other info:

  1. macOS 13.4.1 (M1)
  2. haxe version: 5.0.0-alpha.1+3a5140e

The compile outputs:
base2D.zip

I used my own application to bisect this issue.
b78173e effectively breaks the js target
970473d introduces the webgl warning messages mentioned above