#RenderLib patched to work with Cleanroom and LWJGL3

1 messages · Page 1 of 1 (latest)

astral flare
#

Small note but i don't know anything about OpenGL, so i didn't make the malfunctioning debug message functionality actually work under Cleanroom, so much as i made it skip itself if an error is thrown. This should be fine for 99.9% of end users though

vapid crane
#

the "issue" you are patching is caused by driver not having the latest gl support

astral flare
#

I don't think that's it

#

RenderLib was working fine outside of Cleanroom for me

hearty pebble
#

I didn't say that I don't want to fix it. I said that I can't fix it and instead it is something that Cleanroom has to fix (or at least I don't know how I could fix it from my end).

Aside from that nobody ever reported to me that the workaround isn't working for them.

astral flare
#

I see

hearty pebble
vapid crane
#

i meant the way he patches renderlib

#
java.lang.NoSuchMethodError: 'void org.lwjgl.opengl.ContextAttribs.<init>(int, int, int, int)'
    at net.minecraft.client.Minecraft.redirect$zze000$unknown_owner$createDisplay(Minecraft.java:3341)
    at net.minecraft.client.Minecraft.func_175609_am(Minecraft.java:623)
    at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:458)
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:378)
    at net.minecraft.client.main.Main.main(SourceFile:123)
    at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
    at java.base/java.lang.reflect.Method.invoke(Method.java:580)
    at top.outlands.foundation.LaunchHandler.launch(LaunchHandler.java:121)
    at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
    at java.base/java.lang.reflect.Method.invoke(Method.java:580)
    at top.outlands.foundation.boot.Foundation.main(Foundation.java:41)
    at org.prismlauncher.launcher.impl.StandardLauncher.launch(StandardLauncher.java:100)
    at org.prismlauncher.EntryPoint.listen(EntryPoint.java:129)
    at org.prismlauncher.EntryPoint.main(EntryPoint.java:70)

this is the only crash i can get from renderlib + cleanroom

astral flare
#

That isn't the error i get

#

The error i get is nosuchmethodexception

#

It also can't be an outdated driver issue since it only happens with Cleanroom specifically

hearty pebble
hearty pebble
#
java.lang.UnsatisfiedLinkError: 'long org.lwjgl.opengl.CallbackUtil.ncreateGlobalRef(java.lang.Object)'
    at org.lwjgl.opengl.CallbackUtil.ncreateGlobalRef(Native Method)
    at org.lwjgl.opengl.CallbackUtil.createGlobalRef(CallbackUtil.java:61)
    at org.lwjgl.opengl.GL43.glDebugMessageCallback(GL43.java:304)
    at meldexun.renderlib.opengl.debug.OpenGLDebugMode$1.enable(OpenGLDebugMode.java:26)
hearty pebble
astral flare
#

Hold up

vapid crane
hearty pebble
#

They were talking about a "OpenGL Debug message function"

#

And their changes also don't mess with setContextDebugBit

astral flare
#

Message callback to be more specific

#

Again i don't really know jack about OpenGL but that's what it's called

feral kraken
#

Wait... is this just happening with the latest cleanroom or is this all of them?

astral flare
# astral flare Hold up

On a semi-empty cleanroom instance i got an error but did not manage to get the same error

astral flare
#

It's probably hardware specific

#

Modernized 1.12 refused to run for me and i think this was the most likely culprit as to why

feral kraken
#

Ok so we have multiple issues then