mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-07 07:24:20 +00:00
Added Pbuffer.isUsingDisplayContext()
This commit is contained in:
parent
2c28c39fce
commit
e9a9ba7c67
1 changed files with 9 additions and 0 deletions
|
|
@ -158,6 +158,15 @@ public final class Pbuffer {
|
|||
Sys.initialize();
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the Pbuffer is using the Display context.
|
||||
*
|
||||
* @return true of the Pbuffer is using the Display context, false if not.
|
||||
*/
|
||||
public boolean isUsingDisplayContext() {
|
||||
return display_context != null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of a Pbuffer using the Display context. The buffer is double-buffered, like the Display.
|
||||
* <p/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue