Update egl_bridge.c

This commit is contained in:
Duy Tran Khanh
2021-11-09 19:11:40 +07:00
committed by GitHub
parent d6ecad04d4
commit f278cf01f5

View File

@@ -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);
}