mirror of
https://github.com/samsonjs/media.git
synced 2026-04-19 13:35:47 +00:00
GL demo: Use setColor instead of setARGB
setColor is a bit more readable PiperOrigin-RevId: 584322875
This commit is contained in:
parent
ec08db458e
commit
6c68146efa
1 changed files with 1 additions and 1 deletions
|
|
@ -63,7 +63,7 @@ import org.checkerframework.checker.nullness.qual.MonotonicNonNull;
|
|||
paint = new Paint();
|
||||
paint.setTextSize(64);
|
||||
paint.setAntiAlias(true);
|
||||
paint.setARGB(0xFF, 0xFF, 0xFF, 0xFF);
|
||||
paint.setColor(Color.WHITE);
|
||||
textures = new int[1];
|
||||
overlayBitmap = Bitmap.createBitmap(OVERLAY_WIDTH, OVERLAY_HEIGHT, Bitmap.Config.ARGB_8888);
|
||||
overlayCanvas = new Canvas(overlayBitmap);
|
||||
|
|
|
|||
Loading…
Reference in a new issue