Geert Uytterhoeven ge...@linux-m68k.org writes:
Question: Should we restrict depth 3 to grayscale visuals instead?
For monochrome this is already needed, as miCreateDefColormap() only
preallocates black and white pixels if depth 1.
Yes, it doesn't make sense to offer static color and true
If depth 3, one or more of {red,green,blue}Mask and lim[rgb] will be
zero, causing division by zero errors. Add checks to avoid this.
Question: Should we restrict depth 3 to grayscale visuals instead?
For monochrome this is already needed, as miCreateDefColormap() only
preallocates black and
2 matches
Mail list logo