-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[rshapes] Off-by-one difference between DrawRectangleLinesEx and DrawLine/DrawLineV at drawing position. #3931
Comments
@raulbonifacio Are you testing latest raylib master branch? |
Hi @raysan5! Yes, I'm testing on the master branch! Today I took my time to perform more tests. Just to be sure I pulled and compiled it again but nothing changed. I tested on different hardware, without a dedicated GPU, but the issue persisted. It's a notebook. Operating System: Endeavour OS It's the same OS. Perhaps it has to do with the driver, as you've said. |
@raulbonifacio Reviewed! Let's hope it works as expected in all GPU/drivers out there... |
Issue description
Hi! I've been testing raylib for some time and noticed a off-by-one difference between DrawRectangleLinesEx and DrawLine when drawing at the same position, creating a 2px border when combined. I looked into the documentation but couldn't find any mention of difference in behavior between those two. I've also tested with DrawLineV and the behavior persists.
Is this the expected behavior?
Thank you for you time!
Environment
Operating System: Endeavour OS
OpenGL: OpenGL version string: 4.6 (Compatibility Profile)
GPU: AMD Radeon RX 580 8GB
Issue Screenshot
Code Example
The text was updated successfully, but these errors were encountered: