gl4es: Minecraft JE framebuffer gave error on iOS
Hi. So after found a JVM for jailbroken iOS, I went to attempt get LWJGL3 and Minecraft working on. The project is mostly based on PojavLauncher Android, but with EGL replacement to EAGL. I had to modify GL4ES to get it built as dynamic library. Almost everything works, until Minecraft starting initialize framebuffer.
crash-2021-01-05_06.36.26-client.txt
As on crash report, glCheckFramebufferStatus() returned GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT. I don’t know what was wrong with my code. I tried these ways:
- Use
GLKView. - Use
GLKViewwith pre-init framebuffer. - Use
GLKViewand changedLIBGL_FBto 1 and 2. - Use GLES context created by JavaFX.
I’m very new to iOS and coding that app without a Mac OS X device, so debugging is quite hard. I could not find a GLES debug tool for jailbroken device. I don’t know what to do. May I modify to enable GL commands logging? Could you try to fix it? Thanks in advance.
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 32 (32 by maintainers)
So, I found out that Darwin has
__DARWIN_ALIASmacro, which isattribute aliassolution. Can you check it? https://opensource.apple.com/source/xnu/xnu-1228.15.4/bsd/sys/cdefs.h @ptitSeb