Closed Bug 1170873 Opened 10 years ago Closed 9 years ago

WebGL 2 - copyTexImage2D fails with npot textures.

Categories

(Core :: Graphics: CanvasWebGL, defect)

defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: u480271, Unassigned)

References

()

Details

(Whiteboard: [gfx-noted])

FAIL getError expected: NO_ERROR. Was INVALID_ENUM : copyTexImage2D with NPOT texture with level > 0 should succeed. PASS getError was expected value: NO_ERROR : gl.texImage2D and gl.generateMipmap with POT texture at level 0 should succeed PASS POT texture with TEXTURE_MIN_FILTER set to LINEAR_MIPMAP_LINEAR should draw. PASS getError was expected value: NO_ERROR : Should be no errors from setup. test ALPHA/UNSIGNED_BYTE PASS getError was expected value: NO_ERROR : gl.texImage2D with NPOT texture with level > 0 should succeed PASS getError was expected value: NO_ERROR : gl.texImage2D with NPOT texture at level 0 should succeed PASS getError was expected value: NO_ERROR : gl.generateMipmap with NPOT texture should succeed PASS NPOT texture with TEXTURE_WRAP set to REPEAT should draw PASS getError was expected value: NO_ERROR : Should be no errors from setup. PASS NPOT texture with TEXTURE_MIN_FILTER not NEAREST or LINEAR should draw PASS getError was expected value: NO_ERROR : Should be no errors from setup. PASS NPOT texture with TEXTURE_MIN_FILTER set to LINEAR should draw. FAIL getError expected: NO_ERROR. Was INVALID_ENUM : copyTexImage2D with NPOT texture with level > 0 should succeed. PASS getError was expected value: NO_ERROR : gl.texImage2D and gl.generateMipmap with POT texture at level 0 should succeed PASS POT texture with TEXTURE_MIN_FILTER set to LINEAR_MIPMAP_LINEAR should draw. PASS getError was expected value: NO_ERROR : Should be no errors from setup. test LUMINANCE_ALPHA/UNSIGNED_BYTE PASS getError was expected value: NO_ERROR : gl.texImage2D with NPOT texture with level > 0 should succeed PASS getError was expected value: NO_ERROR : gl.texImage2D with NPOT texture at level 0 should succeed PASS getError was expected value: NO_ERROR : gl.generateMipmap with NPOT texture should succeed PASS NPOT texture with TEXTURE_WRAP set to REPEAT should draw PASS getError was expected value: NO_ERROR : Should be no errors from setup. PASS NPOT texture with TEXTURE_MIN_FILTER not NEAREST or LINEAR should draw PASS getError was expected value: NO_ERROR : Should be no errors from setup. PASS NPOT texture with TEXTURE_MIN_FILTER set to LINEAR should draw. FAIL getError expected: NO_ERROR. Was INVALID_ENUM : copyTexImage2D with NPOT texture with level > 0 should succeed. PASS getError was
I use the latest nightly and all tests were passed.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.