mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2026-10-04 03:22:03 -04:00
[Mod installer] Disable alpha
This commit is contained in:
1 parent
33a2c42626
commit
7533611aeb
1 file changed
+6
-5
@@ -89,11 +89,12 @@ public class AWTCanvasView extends TextureView implements TextureView.SurfaceTex
|
||||
attached = CallbackBridge.nativeAttachThreadToOther(true, MainActivity.isInputStackCall);
|
||||
} else {
|
||||
int[] rgbArray = JREUtils.renderAWTScreenFrame(/* canvas, mWidth, mHeight */);
|
||||
if (rgbArray == null) {
|
||||
drawing = false;
|
||||
} else {
|
||||
canvas.drawBitmap(rgbArray, 0, mWidth, 0, 0, mWidth, mHeight, true, null);
|
||||
}
|
||||
if (rgbArray == null) {
|
||||
drawing = false;
|
||||
} else {
|
||||
canvas.drawText("FPS", 50, 50, fpsPaint);
|
||||
canvas.drawBitmap(rgbArray, 0, mWidth, 0, 0, mWidth, mHeight, false, null);
|
||||
}
|
||||
}
|
||||
canvas.drawText("FPS: " + (Math.round(fps() * 10) / 10) + ", attached=" + attached + ", drawing=" + drawing, 50, 50, fpsPaint);
|
||||
|
||||
|
||||
Reference in new issue
Block a user