Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manual scrolling escaping GUI #1051

Closed
Vexatos opened this issue Apr 10, 2015 · 16 comments
Closed

Manual scrolling escaping GUI #1051

Vexatos opened this issue Apr 10, 2015 · 16 comments

Comments

@Vexatos
Copy link
Contributor

Vexatos commented Apr 10, 2015

Happens quite often when clicking a link to another manual page and then starting to scroll.
2015-04-10_12 50 39
2015-04-10_12 55 27

@KJA1582
Copy link
Contributor

KJA1582 commented Apr 10, 2015

Can't recreate that.

@Kubuxu
Copy link
Contributor

Kubuxu commented Apr 10, 2015

It might be driver/GFX specific.

Sorry, something went wrong.

@Vexatos
Copy link
Contributor Author

Vexatos commented Apr 10, 2015

Oh, I should note I run Minecraft with the java argument "-Dforge.forceNoStencil=true". It could be related to the problem.

Sorry, something went wrong.

@Kubuxu
Copy link
Contributor

Kubuxu commented Apr 10, 2015

Sangar uses depth buffer to mask out a region so it shouldn't happen.

Sorry, something went wrong.

@KJA1582
Copy link
Contributor

KJA1582 commented Apr 10, 2015

What does that argument do?

Sorry, something went wrong.

@Kubuxu
Copy link
Contributor

Kubuxu commented Apr 10, 2015

Disables stencil buffer in MC's rendering.

@Vexatos
Copy link
Contributor Author

Vexatos commented Apr 10, 2015

What @Kubuxu said, it makes Minecraft not crash with certain very old GPUs and old OpenGL versions.

@KJA1582
Copy link
Contributor

KJA1582 commented Apr 10, 2015

ah ok. OpenGL 2 get any benefits of this?

@Kubuxu
Copy link
Contributor

Kubuxu commented Apr 10, 2015

It makes OpenGL2.1only GPUs work with MC.

@Vexatos
Copy link
Contributor Author

Vexatos commented Apr 10, 2015

There is literally no benefit at all except for old GPUs not crashing.

@fnuecke
Copy link
Member

fnuecke commented Apr 10, 2015

Uhhhh, that... should be impossible. Great.

What I'm essentially doing is flattening the depth buffer, then punch a hole in it and render in that hole. Anything outside it shouldn't render. This indicates either the GL state gets messed with somewhere, or... or I don't know, honestly.

@Vexatos
Copy link
Contributor Author

Vexatos commented Apr 10, 2015

Well, I am quite sure it's somehow related to this java argument because of the scrolling stuff in CodeChickenCore (Yes, I see this warning in the log because of this java argument).

@Kubuxu
Copy link
Contributor

Kubuxu commented Apr 10, 2015

@Vexatos ChickenBones uses stencil buffer.
Can you post a GL compatibility report? http://sourceforge.net/projects/openglreport/

@fnuecke
Copy link
Member

fnuecke commented Apr 10, 2015

That. I don't use the stencil buffer. I wanted to, but it seems to be disabled by default, even, so I dropped that idea.

@Vexatos
Copy link
Contributor Author

Vexatos commented Apr 10, 2015

The website wasn't working for me, but I managed to use a different tool and it gave me this: http://pastebin.com/4iAkfnLF

Maybe I should note that taking a screenshot using F2 fixes it until I randomly click links again.

@fnuecke
Copy link
Member

fnuecke commented Apr 10, 2015

Just to anyone who cares, this is fixed now. Throwing in a GL11.glDisable(GL11.GL_ALPHA_TEST) fixed it.

@fnuecke fnuecke closed this as completed Apr 10, 2015
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

No branches or pull requests

4 participants