-
zmo@google.com authored
Reviewed by Kenneth Russell. texSubImage2D's format/type needs to match the internalformat/type from the previous texImage2D call https://bugs.webkit.org/show_bug.cgi?id=53054 * fast/canvas/webgl/tex-sub-image-2d-bad-args-expected.txt: Added. * fast/canvas/webgl/tex-sub-image-2d-bad-args.html: Added. 2011-01-27 Zhenyao Mo <zmo@google.com> Reviewed by Kenneth Russell. texSubImage2D's format/type needs to match the internalformat/type from the previous texImage2D call https://bugs.webkit.org/show_bug.cgi?id=53054 Test: fast/canvas/webgl/tex-sub-image-2d-bad-args.html * html/canvas/WebGLRenderingContext.cpp: (WebCore::WebGLRenderingContext::texSubImage2DBase): Check format/type match. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76874 268f45cc-cd09-0410-ab3c-d52691b4dbfc
abdd5a29