aboutsummaryrefslogtreecommitdiffstats
path: root/src/newt/classes/com
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2019-12-04 22:38:45 +0100
committerSven Gothel <[email protected]>2019-12-04 22:38:45 +0100
commitd5ba4cae824087879a4857e20961a95da04eaebb (patch)
treeb8e85473ab02757a698813b09fb2629f8c4bd438 /src/newt/classes/com
parent4665875ac4689885da3b4a4c45cde7c6886322e3 (diff)
NEWT: Align DisplayImpl.createPointerIcon(..) behavior; PointerIconImpl.validatedHandle() shall not create native resource.
Semantic cleanup for clarity and equal behavior Align DisplayImpl.createPointerIcon(..) behavior - return null handle of createPointerIconImplChecked(..) shall be accepted, no exception for neither of the two creation methods. PointerIconImpl.validatedHandle() shall not create native resource. - throws exception if handle is null (about to be used) - no native creation shall happen here. Display.PointerIcon.validate(): Removed, not used.
Diffstat (limited to 'src/newt/classes/com')
-rw-r--r--src/newt/classes/com/jogamp/newt/Display.java8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/newt/classes/com/jogamp/newt/Display.java b/src/newt/classes/com/jogamp/newt/Display.java
index d683eb9f2..de2f698c9 100644
--- a/src/newt/classes/com/jogamp/newt/Display.java
+++ b/src/newt/classes/com/jogamp/newt/Display.java
@@ -147,14 +147,6 @@ public abstract class Display {
boolean isValid();
/**
- * Returns true if instance {@link #isValid()} or validation was successful, otherwise false.
- * <p>
- * Validation, i.e. recreation, is required if instance became invalid, see {@link #isValid()}.
- * </p>
- */
- boolean validate();
-
- /**
* Destroys this instance.
* <p>
* Will be called automatically if it's {@link #getDisplay() associated Display} is destroyed.