TypeError (null access) when -Dwebgl
boozook opened this issue · comments
Not works basic example (lime create away3d:Basic_View) built with -D debug
& -D webgl
.
Part of project.xml
:
<!--<haxedef name="dom" if="html5"/>-->
<haxedef name="webgl" if="html5"/>
<!-- DEBUG -->
<set name="debug"/>
<haxedef name="debug" if="debug"/>
In runtime got exception:
TypeError: null is not an object (evaluating 'lime_graphics_opengl_GL.context.enable')
configureBackBufferAwayCube.js:62795
onContext3DUpdateAwayCube.js:13540:99
fAwayCube.js:69262:247
__dispatchEventAwayCube.js:197
dispatchEventAwayCube.js:130
(anonymous function)AwayCube.js:62585
runAwayCube.js:32701
(anonymous function)AwayCube.js:32692
Currently away3d for openfl only supports -Ddom on the command line or and not the 'webgl' flag for the HTML5 target.
I'm going to leave this open for the time being as ideally, using the webgl flag should also work.