Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Remove gl.enable(gl.TEXTURE_2D)

#123

Apparently, gl.enable(gl.TEXTURE_2D) is invalid WebGL, and is absolutely not needed (according to the spec) to make textures work.

http://learningwebgl.com/blog/?p=1569

Reported by lindsay.kay (at xeolabs) · July 13th, 2010 @ 04:27 AM

State: resolved
Milestone: V0.7.6

Activity

  1. lindsay.kay (at xeolabs)
    lindsay.kay (at xeolabs)

    Changes made to renderer and shading modules: removed texturingEnabled flag from exported renderer state.

    July 13th, 2010 @ 04:37 AM

  2. lindsay.kay (at xeolabs)
    lindsay.kay (at xeolabs)

    Change made to Scene module: removed context.disable(context.TEXTURE_2D) from findCanvas()

    July 13th, 2010 @ 04:41 AM

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.