Fix build error, update README.md

This commit is contained in:
khanhduytran0 2020-08-27 18:08:26 +07:00
parent b25e8ebf34
commit dde2ce9152
2 changed files with 3 additions and 4 deletions

View File

@ -5,8 +5,8 @@ An open source Minecraft: Java Edition launcher for Android based from Boardwalk
- Attempt to run Minecraft in OpenJDK, different a bit with Boardwalk 2.
## Current status
- [x] BinaryExecutor ~~: execute `java` binary, no `JNIInvocation`~~
- [x] JVDroid OpenJDK 11 (32 and 64-bit ARM and x86). Partial, but error `can't lock mutex`.
- [x] **Deprecated** ~~BinaryExecutor: execute `java` binary, no `JNIInvocation`.~~
- [x] JVDroid OpenJDK 11 (32 and 64-bit ARM and x86). Partial, no error `can't lock mutex`, but now exit with none output.
- [ ] AWT/Swing for mod installer. Will use `Caciocavallo` project.
- [ ] OpenGL in OpenJDK environment. Use Boardwalk 2 method or other.
- [ ] OpenAL 64-bit version

View File

@ -682,7 +682,6 @@ public class MainActivity extends AppCompatActivity implements OnTouchListener,
AndroidContextImplementation.display = egl10.eglGetCurrentDisplay();
AndroidContextImplementation.read = egl10.eglGetCurrentSurface(EGL10.EGL_READ);
AndroidContextImplementation.draw = egl10.eglGetCurrentSurface(EGL10.EGL_DRAW);
// egl10.eglMakeCurrent(AndroidContextImplementation.display, EGL10.EGL_NO_SURFACE, EGL10.EGL_NO_SURFACE, EGL10.EGL_NO_CONTEXT);
System.out.println(new StringBuffer().append("Gave up context: ").append(AndroidContextImplementation.context).toString());
@ -691,7 +690,7 @@ public class MainActivity extends AppCompatActivity implements OnTouchListener,
if (LAUNCH_TYPE != LTYPE_PROCESS) {
BinaryExecutor.setupBridgeEGL();
egl10.eglMakeCurrent(theEgl.eglGetCurrentDisplay(), EGL10.EGL_NO_SURFACE, EGL10.EGL_NO_SURFACE, EGL10.EGL_NO_CONTEXT);
egl10.eglMakeCurrent(AndroidContextImplementation.display, EGL10.EGL_NO_SURFACE, EGL10.EGL_NO_SURFACE, EGL10.EGL_NO_CONTEXT);
}
new Thread(new Runnable(){