Repository navigation
fix(glfw/opengles): fix buf_size calculation error - #6830
Merged
Merged
Conversation
Line 64 had too much memory allocated for the buffersize. Stride equals w*pixelfmt in bytes. Total buffersize is w * h *pxfmt. This also solved a bug where texture would not be created for resolutions where height is greater than width.
FASTSHIFT
approved these changes
Sep 10, 2024
liamHowatt
approved these changes
Sep 11, 2024
liamHowatt
left a comment
Contributor
There was a problem hiding this comment.
Thank you very much. Great catch.
Member
|
Thank you @JWBverheesen! @liamHowatt is working on an OpenGL based renderer (similar to the SDL one). If you are experienced with OpenGL can we tag you for a review when the PR is opened? |
Contributor
Author
|
@kisvegabor sure! I have some experience with openGL, always happy to help. Love the work you guys are doing ;) |
Member
|
Amazing! Thank you 🤗 |
Contributor
|
Fyi the PR is here. It will be out of draft soon. #6861 |
kisvegabor
pushed a commit
to kisvegabor/lvgl_fork
that referenced
this pull request
Oct 1, 2024
kisvegabor
pushed a commit
that referenced
this pull request
Oct 9, 2024
rodb70
pushed a commit
to rodb70/lvgl
that referenced
this pull request
Nov 8, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Line 64 had too much memory allocated for the buffersize. Stride equals w*pixelformat in bytes. Total buffersize is w * h *pixelformat in bytes. This also solved a bug where texture would not be created for resolutions where height is greater than width.