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

Query pixel format bytes-per-pixel, row- and surface-pitch. #962

Merged
merged 6 commits into from
Jan 6, 2024

Conversation

floooh
Copy link
Owner

@floooh floooh commented Jan 4, 2024

Fixes #946

Also add public functions sg_query_row_pitch() and sg_query_surface_pitch() (expose the private functions _sg_row_pitch() and _sg_surface_pitch() in the public API.

TODO:

  • write exhaustive tests for sg_query_row_pitch() and sg_query_surface_pitch()
  • update documentation
  • update changelog

@floooh floooh self-assigned this Jan 4, 2024
@floooh floooh merged commit daa88ad into master Jan 6, 2024
30 checks passed
@floooh floooh deleted the issue946-pixelformat-bytesize branch January 6, 2024 13:54
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.

Expose _sg_pixelformat_bytesize to users?
1 participant