Skip to content

Commit fa83874

Browse files
committed
Throw when not on macos.
1 parent bc5a524 commit fa83874

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/processing/webgpu/PSurfaceGLFW.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ public long getWindowHandle() {
121121
if (Platform.get() == Platform.MACOSX) {
122122
return GLFWNativeCocoa.glfwGetCocoaWindow(window);
123123
} else {
124-
return window;
124+
throw new UnsupportedOperationException("Window handle retrieval not implemented for this platform");
125125
}
126126
}
127127

0 commit comments

Comments
 (0)