fix PBS gfx clear syscall binding

This commit is contained in:
2026-05-24 09:24:48 +01:00
parent e32c31a9d3
commit 06f92f808d
2 changed files with 2 additions and 10 deletions
@@ -977,12 +977,13 @@ class PBSFrontendPhaseServiceTest {
final var sourceFile = modulePath.resolve("source.pbs");
final var modBarrel = modulePath.resolve("mod.barrel");
Files.writeString(sourceFile, """
import { Color } from @core:color;
import { Gfx } from @sdk:gfx;
[Frame]
fn frame() -> void
{
Gfx.clear_565(6577);
Gfx.clear(new Color(6577));
}
""");
Files.writeString(modBarrel, "pub fn frame() -> void;");