Skip to content

Conversation

@mynameisbob1928
Copy link

Prior to this change whenever I would toggle fullscreen mode in minecraft while in a world the game would crash with the error java.lang.IllegalStateException: Framebuffer incomplete with error code: 36057. This was caused from the renderer trying to verify the depth textures and something else but the verify method was called prior to the resize changes being applied. From this I quite simply moved the method calls to a little later so that all the dimensions are the same and the game no longer crashes when I toggle fullscreen.

Now I will confess since I know next to nothing about rendering or opengl I did use chatgpt to help but it appears to work and I didn't blindly copy and paste ¯_(ツ)_/¯

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant