From 350b18219b594f1e692d0a745a179b29723502c3 Mon Sep 17 00:00:00 2001 From: JeremyStarTM Date: Sun, 21 Jul 2024 17:37:55 +0200 Subject: [PATCH] Fix OpenGL Window#getIdentifierAsLong --- .../sosengine/graphics/opengl/classes/Window.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graphics/opengl/src/main/java/de/staropensource/sosengine/graphics/opengl/classes/Window.java b/graphics/opengl/src/main/java/de/staropensource/sosengine/graphics/opengl/classes/Window.java index 0d39d520..fbe8f393 100644 --- a/graphics/opengl/src/main/java/de/staropensource/sosengine/graphics/opengl/classes/Window.java +++ b/graphics/opengl/src/main/java/de/staropensource/sosengine/graphics/opengl/classes/Window.java @@ -131,7 +131,7 @@ public class Window extends de.staropensource.sosengine.graphics.classes.Window * @since v1-alpha2 */ public long getIdentifierAsLong() { - return Long.getLong(getIdentifier()); + return Long.parseLong(getIdentifier()); } /**