mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-01 07:35:40 +00:00
1ec408280e
Move the deprecated setWantsBestResolutionOpenGLSurface to GL-specific code while we're here. Signed-off-by: Elias Naur <mail@eliasnaur.com>
19 lines
316 B
Go
19 lines
316 B
Go
// SPDX-License-Identifier: Unlicense OR MIT
|
|
|
|
package app
|
|
|
|
import (
|
|
"gioui.org/app/internal/wm"
|
|
)
|
|
|
|
// JavaVM returns the global JNI JavaVM.
|
|
func JavaVM() uintptr {
|
|
return wm.JavaVM()
|
|
}
|
|
|
|
// AppContext returns the global Application context as a JNI
|
|
// jobject.
|
|
func AppContext() uintptr {
|
|
return wm.AppContext()
|
|
}
|