diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-08-30 12:36:03 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-08-30 12:36:03 +0200 |
commit | cc54bbe9524266ece289504b7c1633b990279d1e (patch) | |
tree | b4aec1b7f561928b9244b981b0ae91eed177f807 /gfx/gl/TextureImageEGL.cpp | |
parent | 73b202b1e5688c0cff883873950f0261c50018e7 (diff) | |
download | UXP-cc54bbe9524266ece289504b7c1633b990279d1e.tar UXP-cc54bbe9524266ece289504b7c1633b990279d1e.tar.gz UXP-cc54bbe9524266ece289504b7c1633b990279d1e.tar.lz UXP-cc54bbe9524266ece289504b7c1633b990279d1e.tar.xz UXP-cc54bbe9524266ece289504b7c1633b990279d1e.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); } |