Remove gl.enable(gl.TEXTURE_2D)
Reported by lindsay.kay (at xeolabs) | July 13th, 2010 @ 04:27 AM | in V0.7.6
Apparently, gl.enable(gl.TEXTURE_2D) is invalid WebGL, and is absolutely not needed (according to the spec) to make textures work.
Comments and changes to this ticket
-
lindsay.kay (at xeolabs) July 13th, 2010 @ 04:37 AM
Changes made to renderer and shading modules: removed texturingEnabled flag from exported renderer state.
-
lindsay.kay (at xeolabs) July 13th, 2010 @ 04:41 AM
Change made to Scene module: removed context.disable(context.TEXTURE_2D) from findCanvas()
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
SceneJS provides easy access to WebGL through a simple and declarative JavaScript API. The SceneJS API is functional, which enables its scene definitions to be really compact and expressive, while hooking into other JavaScript code just that little bit more smoothly.