Closed renzenicolai closed 4 years ago
On line 162, the first 8 bits are not assigned to 32-bit variable value. Wouldn't this cause issues with the alpha-value when you have a 32BPP badge?
Nah, alpha values are not used at the moment and the only reason we have an 32-bit color depth is because of the "weird" way the cz19 driver works (I didn't want to rewrite the compositor thing that the cz19 badge has so I instead made a bit of a compatibility thing in the framebuffer driver instead).
This patch fixes the argument and buffer handling for drawRaw so that it properly accepts buffers with 3 bytes per pixel (rgb24) data for both situations in which the function can be used (with a window and without).