Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fbo fatal error 8cd6 #82

Open
verpeteren opened this issue May 8, 2017 · 1 comment
Open

fbo fatal error 8cd6 #82

verpeteren opened this issue May 8, 2017 · 1 comment
Assignees

Comments

@verpeteren
Copy link
Contributor

I am experimenting on the components branch (b1f1f7a) and found that the webgl context behaves different on a 'canvas Element' then on a 'canvas Instance'.

Consider the following testcase:

<application>
<meta>
	<id>com.nidium.github.issues.XX</id>
  	<viewport>640x360</viewport>
</meta>

<layout>
	<canvas id="3dcanvas" ></canvas>
</layout>

<script>
const let_it_crash = false;
if (let_it_crash) {
	var canvas3d = document.getElementById("3dcanvas");
} else {
	/*
	* this gives 
	  [ERROR:CanvasContext] (CanvasContext.cpp:472) fbo fatal error 8cd6
	*/
	var canvas3d = new Canvas(640, 360);
	document.canvas.add(canvas3d);
}
var gl = canvas3d.getContext("webgl");

</script>
</application>
@efyx efyx self-assigned this May 10, 2017
@efyx
Copy link
Contributor

efyx commented May 10, 2017

Ah yes indeed, I already experimented a similar issue while testing WebGL on the component branch.

There is currently a bug on the master branch that prevents WebGL from working (the android merge + commit f516273). Once WebGL are fixed, I'll investigate into this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants