mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-16 16:16:04 -04:00
Update egl_bridge.c
This commit is contained in:
parent
d6ecad04d4
commit
f278cf01f5
@ -845,7 +845,7 @@ int pojavInit() {
|
||||
savedHeight,
|
||||
EGL_NONE,
|
||||
};
|
||||
potatoBridge.eglSurface = eglCreatePbufferSurface_p(potatoBridge.eglDisplay, pbufferConfig);
|
||||
potatoBridge.eglSurface = eglCreatePbufferSurface_p(potatoBridge.eglDisplay, config, pbufferAttribs);
|
||||
} else {
|
||||
potatoBridge.eglSurface = eglCreateWindowSurface_p(potatoBridge.eglDisplay, config, potatoBridge.androidWindow, NULL);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user