summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--android/source/src/java/org/mozilla/gecko/gfx/SubTile.java2
1 files changed, 0 insertions, 2 deletions
diff --git a/android/source/src/java/org/mozilla/gecko/gfx/SubTile.java b/android/source/src/java/org/mozilla/gecko/gfx/SubTile.java
index bdad37195d90..d2b0bf9e8114 100644
--- a/android/source/src/java/org/mozilla/gecko/gfx/SubTile.java
+++ b/android/source/src/java/org/mozilla/gecko/gfx/SubTile.java
@@ -169,8 +169,6 @@ public class SubTile extends Layer {
bindAndSetGLParameters();
- IntSize bufferSize = mImage.getSize();
-
GLES20.glTexImage2D(GLES20.GL_TEXTURE_2D, 0, glInfo.internalFormat,
mSize.width, mSize.height, 0, glInfo.format, glInfo.type, imageBuffer);