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

Fix text not showing when clipped in raylib/microui example #62

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Tekkitslime
Copy link

@Tekkitslime Tekkitslime commented Oct 12, 2024

  • Have you added the example to the CI at .github/workflows/check.yml?

As the title says, the example didn't show long text correctly, so by moving the window around i figured that the clipping rectangle calculation is upside down.

@laytan
Copy link
Collaborator

laytan commented Oct 13, 2024

This is not correct either

Screen.Recording.2024-10-13.at.20.54.21.mov

@Tekkitslime
Copy link
Author

Now that's bizarre, works fine on my machine and i have no idea why... I'd play around with it if i could reproduce. I think this is raylib's scissor mode acting weird?

@Tekkitslime Tekkitslime marked this pull request as draft October 14, 2024 05:20
@Tekkitslime
Copy link
Author

Could you try running it in software rendering mode? It still works if i run it with the LIBGL_ALWAYS_SOFTWARE=1 environment flag. also this is the opengl device info:

INFO: GL: OpenGL device information:
INFO:     > Vendor:   Mesa
INFO:     > Renderer: llvmpipe (LLVM 18.1.8, 256 bits)
INFO:     > Version:  4.5 (Core Profile) Mesa 24.2.5-arch1.1
INFO:     > GLSL:     4.50

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.

2 participants