mirror of
https://gitlab.com/2009scape/rt4-client.git
synced 2025-12-11 09:00:26 -07:00
Export frame buffer to PNG, allow transparency
This commit is contained in:
parent
3a90dfc1b3
commit
237c187ce8
5 changed files with 74 additions and 19 deletions
|
|
@ -179,6 +179,12 @@ public final class SoftwareRaster {
|
|||
}
|
||||
}
|
||||
|
||||
public static void clear(int color) {
|
||||
for (int i = 0; i < width * height; ++i) {
|
||||
pixels[i] = color;
|
||||
}
|
||||
}
|
||||
|
||||
@OriginalMember(owner = "client!kb", name = "b", descriptor = "(IIIII)V")
|
||||
private static void method2493(@OriginalArg(0) int arg0, @OriginalArg(1) int arg1, @OriginalArg(2) int arg2, @OriginalArg(3) int arg3, @OriginalArg(4) int arg4) {
|
||||
if (arg1 < clipTop || arg1 >= clipBottom) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue