Skip to content

Fix: only pass --disable-awt for WebGPU renderer - #1570

Merged
tychedelia merged 1 commit into
processing:mainfrom
pepc84:fix/disable-awt-webgpu-only
Sep 14, 2026
Merged

tychedelia merged 1 commit into
processing:mainfrom
pepc84:fix/disable-awt-webgpu-only

Conversation

@pepc84

@pepc84 pepc84 commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

ARGS_DISABLE_AWT was passed unconditionally, breaking display detection, displayWidth/displayHeight, and pixelDensity() on all platforms. Also fixes the string literal WEBGPU check on line 346 to use PConstants.WEBGPU.

Fixes #1553, #1569, #1551

ARGS_DISABLE_AWT was passed unconditionally, breaking display detection,
displayWidth/displayHeight, and pixelDensity() on all platforms since
these still go through ShimAWT. Also fixes the string literal WEBGPU
check on line 346 which should use PConstants.WEBGPU.

Fixes processing#1553, processing#1569, processing#1551
@SableRaf
SableRaf requested a review from tychedelia September 14, 2026 18:36
@tychedelia
tychedelia merged commit 247638a into processing:main Sep 14, 2026
@catilac catilac mentioned this pull request Sep 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Instant crash

2 participants