mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-14 15:17:02 -04:00
[Mod installer] Disable alpha
This commit is contained in:
parent
33a2c42626
commit
7533611aeb
@ -89,11 +89,12 @@ public class AWTCanvasView extends TextureView implements TextureView.SurfaceTex
|
|||||||
attached = CallbackBridge.nativeAttachThreadToOther(true, MainActivity.isInputStackCall);
|
attached = CallbackBridge.nativeAttachThreadToOther(true, MainActivity.isInputStackCall);
|
||||||
} else {
|
} else {
|
||||||
int[] rgbArray = JREUtils.renderAWTScreenFrame(/* canvas, mWidth, mHeight */);
|
int[] rgbArray = JREUtils.renderAWTScreenFrame(/* canvas, mWidth, mHeight */);
|
||||||
if (rgbArray == null) {
|
if (rgbArray == null) {
|
||||||
drawing = false;
|
drawing = false;
|
||||||
} else {
|
} else {
|
||||||
canvas.drawBitmap(rgbArray, 0, mWidth, 0, 0, mWidth, mHeight, true, null);
|
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);
|
canvas.drawText("FPS: " + (Math.round(fps() * 10) / 10) + ", attached=" + attached + ", drawing=" + drawing, 50, 50, fpsPaint);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user