mirror of
https://github.com/celisej567/mcpe.git
synced 2026-09-04 19:36:43 +03:00
Redstone: Add wires, redstone torches, levers (incomplete) and repeaters
This commit is contained in:
@@ -314,7 +314,7 @@ static void initWindow(struct engine* engine, struct android_app* app)
|
||||
|
||||
ANativeWindow_setBuffersGeometry(app->window, 0, 0, format);
|
||||
|
||||
engine->surface = eglCreateWindowSurface(engine->display, config, app->window, NULL);
|
||||
engine->surface = eglCreateWindowSurface(engine->display, config, (EGLNativeWindowType)app->window, NULL);
|
||||
engine->context = eglCreateContext(engine->display, config, NULL, NULL);
|
||||
|
||||
if (!engine->context)
|
||||
@@ -471,4 +471,4 @@ void android_main(struct android_app* state) {
|
||||
exit:
|
||||
engine.ninecraftApp->saveOptions();
|
||||
delete engine.ninecraftApp;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user