From 4f504d46be3df72acba5892da090355b2189974d Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Thu, 30 Aug 2018 12:36:03 +0200 Subject: Revert "Bug 1388020. r=nical, a=RyanVM" This reverts commit e7189e33f533f9b974b22c2110b522a13bc4c7f6. --- gfx/gl/GLTextureImage.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'gfx/gl/GLTextureImage.cpp') diff --git a/gfx/gl/GLTextureImage.cpp b/gfx/gl/GLTextureImage.cpp index 65678432d..c91d558af 100644 --- a/gfx/gl/GLTextureImage.cpp +++ b/gfx/gl/GLTextureImage.cpp @@ -149,9 +149,6 @@ BasicTextureImage::DirectUpdate(gfx::DataSourceSurface* aSurf, const nsIntRegion &uploadSize, needInit, aFrom); - if (mTextureFormat == SurfaceFormat::UNKNOWN) { - return false; - } if (uploadSize > 0) { UpdateUploadSize(uploadSize); -- cgit v1.2.3