src/utils_glx.c: Avoid RGBA to BGRA conversion in software.
Speed up bitmap loading by avoiding conversions in software. The GPU stores a bitmap internally in BGRA format instead of RGBA. By using BGRA iso RGBA for format to load this conversion is ommitted and a considerable speedup is obtained.
Showing
Please register or sign in to comment