Android support, attempt-1 #8
@@ -22,7 +22,7 @@ void raybriInit(void *layer) {
|
|||||||
if (!raybriEGLInit(&cfg, &ctx, &display)) {
|
if (!raybriEGLInit(&cfg, &ctx, &display)) {
|
||||||
raybriLog("ERROR Could not initialize EGL");
|
raybriLog("ERROR Could not initialize EGL");
|
||||||
}
|
}
|
||||||
if (!raybriEGLResetSurface(&cfg, &ctx, &display, &surface)) {
|
if (!raybriEGLResetSurface(layer, &cfg, &display, &surface)) {
|
||||||
raybriLog("ERROR Could not reset EGL surface");
|
raybriLog("ERROR Could not reset EGL surface");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user