Skip to content

[rtextures] ImageDrawLine() rounding and length fix#5896

Merged
raysan5 merged 8 commits into
raysan5:masterfrom
Kaggen67:patch-1
May 30, 2026
Merged

[rtextures] ImageDrawLine() rounding and length fix#5896
raysan5 merged 8 commits into
raysan5:masterfrom
Kaggen67:patch-1

Conversation

@Kaggen67

Copy link
Copy Markdown
Contributor

Changed ImageDrawLine() so it draws the correct number of pixels (not one pixel short as before) and more accurate rounding when drawing the pixels.

I've tested it on Windows 11 and on a Raspberry Pi 4.

@raysan5
raysan5 merged commit b7f50b2 into raysan5:master May 30, 2026
@raysan5

raysan5 commented May 30, 2026

Copy link
Copy Markdown
Owner

@Kaggen67 thanks for the review!

@Kaggen67
Kaggen67 deleted the patch-1 branch May 30, 2026 18:52
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