[Webkit-unassigned] [Bug 100402] New: WebGLRenderingContext::handleNPOTTextures uses incorrect texture names

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 25 11:54:29 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=100402

           Summary: WebGLRenderingContext::handleNPOTTextures uses
                    incorrect texture names
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Trivial
          Priority: P5
         Component: WebGL
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: elijah.taylor+webkitbugzilla at gmail.com


WebGLRenderingContext::handleNPOTTextures incorrectly uses the index values of m_textureUnits to set the context's active texture, which expects a proper GL_TEXTUREn value instead.  I got GL_INVALID_ENUM from glActiveTexture to show up when rendering with drawArrays using multiple NPOT textures that were incomplete (they were using GL_REPEAT instead of GL_CLAMP_TO_EDGE against spec), and handleNPOTTextures tried to set the black texture for the non-active textures.

Please find the attached trivial patch to fix this.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list