Bug 822404 - Shouldn't use WANT_NEW_SURFACE when uploading DOM elements to WebGL textures - r=jgilbert

This commit is contained in:
Benoit Jacob 2012-12-17 16:59:51 -05:00
parent 0c7d43972a
commit 1d4393412d

View File

@ -978,7 +978,6 @@ protected:
nsLayoutUtils::SurfaceFromElementResult SurfaceFromElement(ElementType* aElement) {
MOZ_ASSERT(aElement);
uint32_t flags =
nsLayoutUtils::SFE_WANT_NEW_SURFACE |
nsLayoutUtils::SFE_WANT_IMAGE_SURFACE;
if (mPixelStoreColorspaceConversion == LOCAL_GL_NONE)