Closed Bug 556768 Opened 15 years ago Closed 15 years ago

WebGL does not work with MOZ_QT_GL=1

Categories

(Core :: Graphics: CanvasWebGL, defect)

Other
Linux
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: romaxa, Unassigned)

References

()

Details

MOZ_QT_GL=1 enabling QGLWidget backend for toplevel qt window This error dumped in console, and no GL scene rendered: layout/generic/nsGfxScrollFrame.cpp, line 3144 glGetProgramiv GL_ACTIVE_ATTRIBUTES failed: 0x00000501 JavaScript error: , line 0: uncaught exception: [Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsICanvasRenderingContextWebGL.drawArrays]" nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "JS frame :: http://learningwebgl.com/lessons/lesson01/index.html :: drawScene :: line 173" data: no]
And this works fine when MOZ_QT_GL=1 no exported.
Presumably something is not properly ensuring the correct context is made active?
MOZ_QT_GL already hacked into current OGL layers system... but is not valid anymore
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.