| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version |
Arguments: texture
Replaces the texture-array of texture with a new array that reverses the order of the bits within each byte. This function is sometimes needed due to the fact that the Operating System expects the bits in a monochrome bitmap array to be in the reverse order of what they are in an Allegro bit array.
If a texture is created by calling load-pixmap, then flip-monochrome-bytes is called internally as needed, and so the application does not need to do so. But if a monochrome (1-bit-per-pixel) texture is defined as a static bit array, then the application will need to explicitly call flip-monochrome-bytes on the texture once at some point before copying it to a window.
Copyright (c) 1998-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version |