mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-06 18:05:35 +00:00
app: make OpenGL default on Android
Like commit dbf6429026, this change
makes the OpenGL backend default for Android.
Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
+1
-1
@@ -314,7 +314,7 @@ const (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func (w *window) NewContext() (context, error) {
|
func (w *window) NewContext() (context, error) {
|
||||||
funcs := []func(w *window) (context, error){newAndroidVulkanContext, newAndroidGLESContext}
|
funcs := []func(w *window) (context, error){newAndroidGLESContext, newAndroidVulkanContext}
|
||||||
var firstErr error
|
var firstErr error
|
||||||
for _, f := range funcs {
|
for _, f := range funcs {
|
||||||
if f == nil {
|
if f == nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user