Call glTexSubImage2D in native code for ImageTexture.Tile
This commit is contained in:
1 parent
e80df262a3
commit
92fc062ca0
17 files changed
+268
-99
No files matched your search
@@ -33,7 +33,7 @@ public class ImageWrapper implements Animatable, Runnable {
|
||||
|
||||
private static final String TAG = ImageWrapper.class.getSimpleName();
|
||||
|
||||
private Image mImage;
|
||||
private final Image mImage;
|
||||
|
||||
private boolean mRunning = false;
|
||||
|
||||
@@ -51,9 +51,9 @@ public class ImageWrapper implements Animatable, Runnable {
|
||||
return mImage.getHeight();
|
||||
}
|
||||
|
||||
public boolean render(int srcX, int srcY, Bitmap dst, int dstX, int dstY,
|
||||
public void render(int srcX, int srcY, Bitmap dst, int dstX, int dstY,
|
||||
int width, int height, boolean fillBlank, int defaultColor) {
|
||||
return mImage.render(srcX, srcY, dst, dstX, dstY,
|
||||
mImage.render(srcX, srcY, dst, dstX, dstY,
|
||||
width, height, fillBlank, defaultColor);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user