Bug 65115 - glActiveTexture(0) is invalid
Summary: glActiveTexture(0) is invalid
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebGL (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-25 08:52 PDT by Andrew Wason
Modified: 2011-07-25 10:39 PDT (History)
4 users (show)

See Also:


Attachments
fix call to glActiveTexture (1.54 KB, patch)
2011-07-25 09:05 PDT, Andrew Wason
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Wason 2011-07-25 08:52:31 PDT
platform/graphics/opengl/GraphicsContext3DOpenGL.cpp prepareTexture() calls glActiveTexture(0) which is invalid and results in GL error GL_INVALID_ENUM.

Originally fixed in bug 64878, but extracted to here because it's orthogonal to that bug.
Comment 1 Andrew Wason 2011-07-25 09:05:26 PDT
Created attachment 101877 [details]
fix call to glActiveTexture
Comment 2 Kenneth Russell 2011-07-25 09:36:48 PDT
Comment on attachment 101877 [details]
fix call to glActiveTexture

Good catch. r=me

Did you want this submitted via the commit queue? Mark cq? if so.
Comment 3 WebKit Review Bot 2011-07-25 10:39:32 PDT
Comment on attachment 101877 [details]
fix call to glActiveTexture

Clearing flags on attachment: 101877

Committed r91674: <http://trac.webkit.org/changeset/91674>
Comment 4 WebKit Review Bot 2011-07-25 10:39:36 PDT
All reviewed patches have been landed.  Closing bug.