Skip to content

Commit

Permalink
Display::getParent (#216)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ecdcaeb authored Oct 4, 2024
1 parent 065d0d6 commit 2177cfa
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/main/java/org/lwjgl/opengl/Display.java
Original file line number Diff line number Diff line change
Expand Up @@ -553,6 +553,11 @@ public static void setParent(java.awt.Canvas parent) {
// Do nothing as set parent not supported
}

public static java.awt.Canvas getParent() {
// Since setParent is not supported, getParent is also expected to return null.
return null;
}

public static void releaseContext() {
glfwMakeContextCurrent(0);
}
Expand Down

0 comments on commit 2177cfa

Please sign in to comment.