diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-08-30 12:36:03 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-08-30 12:36:40 +0200 |
commit | 4f504d46be3df72acba5892da090355b2189974d (patch) | |
tree | 3650276d8277244e1ba0839022e80c4db7dec949 /gfx/gl/TextureImageEGL.cpp | |
parent | 1edc7328f216117a0178c78d70e43a7bfc705089 (diff) | |
download | UXP-4f504d46be3df72acba5892da090355b2189974d.tar UXP-4f504d46be3df72acba5892da090355b2189974d.tar.gz UXP-4f504d46be3df72acba5892da090355b2189974d.tar.lz UXP-4f504d46be3df72acba5892da090355b2189974d.tar.xz UXP-4f504d46be3df72acba5892da090355b2189974d.zip |
Revert "Bug 1388020. r=nical, a=RyanVM"
This reverts commit e7189e33f533f9b974b22c2110b522a13bc4c7f6.
Diffstat (limited to 'gfx/gl/TextureImageEGL.cpp')
-rw-r--r-- | gfx/gl/TextureImageEGL.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gfx/gl/TextureImageEGL.cpp b/gfx/gl/TextureImageEGL.cpp index 3bb2987d1..87a547c26 100644 --- a/gfx/gl/TextureImageEGL.cpp +++ b/gfx/gl/TextureImageEGL.cpp @@ -119,10 +119,6 @@ TextureImageEGL::DirectUpdate(gfx::DataSourceSurface* aSurf, const nsIntRegion& &uploadSize, needInit, aFrom); - if (mTextureFormat == SurfaceFormat::UNKNOWN) { - return false; - } - if (uploadSize > 0) { UpdateUploadSize(uploadSize); } |