mirror of https://github.com/encounter/SDL.git
5ea9886bcf
Note that returning SDL_PIXELFORMAT_BGR24 instead of SDL_PIXELFORMAT_RGB24 seems necessary, otherwise when running with SDL_ACCELERATION=0, the red and blue channels of the window appeared swapped. Note that when running with acceleration enabled, red and blue channel swapping does not happen regardless of whether SDL_PIXEL_FORMAT_RGB24 or SDL_PIXEL_FORMAT_BGR24 is returned. For good measure, I also tested running with acceleration disabled in both 15 and 16 bit color depths, but red and blue channel swapping did not occur |
||
---|---|---|
.. | ||
SDL_BApp.h | ||
SDL_BWin.h | ||
SDL_bclipboard.cc | ||
SDL_bclipboard.h | ||
SDL_bevents.cc | ||
SDL_bevents.h | ||
SDL_bframebuffer.cc | ||
SDL_bframebuffer.h | ||
SDL_bkeyboard.cc | ||
SDL_bkeyboard.h | ||
SDL_bmessagebox.cc | ||
SDL_bmessagebox.h | ||
SDL_bmodes.cc | ||
SDL_bmodes.h | ||
SDL_bopengl.cc | ||
SDL_bopengl.h | ||
SDL_bvideo.cc | ||
SDL_bvideo.h | ||
SDL_bwindow.cc | ||
SDL_bwindow.h |