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

Account for big endian support for RGB/BGR images #1930

Merged
merged 1 commit into from Jun 8, 2020

Commits on Jun 8, 2020

  1. Account for big endian support for RGB/BGR images

    Add big endian blocks in image_frombuffer() for RGB and BGR images,
    similarly to how RGBA are handled.  This also seems to match examples
    in SDL documentation.  This fixes test_frombuffer_BGR
    and test_frombuffer_RGB on big endian machines (see pygame#1291).
    mgorny committed Jun 8, 2020
    Configuration menu
    Copy the full SHA
    bad58d0 View commit details
    Browse the repository at this point in the history