mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-06 06:53:59 +00:00
Linux part:
Merged Window and Display into org.lwjgl.Display Added support for persistent context. This will enable LWJGL games to avoid recreating the context resources like textures and display lists when switching between windowed and fullscreen and/or context dimensions. Added PixelFormat class instead of individual parameters to Display.create and Pbuffer constructor.
This commit is contained in:
parent
d03916ebec
commit
84110e9c13
25 changed files with 945 additions and 885 deletions
|
|
@ -180,7 +180,7 @@ public final class GLContext {
|
|||
|
||||
/**
|
||||
* Determine which extensions are available. Use this to initialize capability fields. Can only be
|
||||
* called _after_ a GLWindow or Pbuffer has been created (or a context from some other GL library).
|
||||
* called _after_ the Display context or a Pbuffer has been created (or a context from some other GL library).
|
||||
* Using LWJGL, this method is called automatically for you when the LWJGL Window is created and there
|
||||
* is no need to call it yourself.
|
||||
*
|
||||
|
|
@ -237,5 +237,4 @@ public final class GLContext {
|
|||
* @param exts An empty Set of Strings that will be filled with the names of enabled extensions
|
||||
*/
|
||||
private static native void init(Set exts);
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue