mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-12 14:16:58 -04:00
Fix build error, update README.md
This commit is contained in:
parent
b25e8ebf34
commit
dde2ce9152
@ -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
|
||||
|
@ -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(){
|
||||
|
Loading…
x
Reference in New Issue
Block a user