Eliminate MAXFORMATS
@anderson
Submitted by Stuart Anderson Assigned to Xorg Project Team
Description
The change for bug #2791 to add support for 12 & 30 bit depths causes more than MAXFORMATS depths to be created when RENDER is enabled. That overflows GCperDepth in the Screen structure and causes a crash.
screen #0: dimensions: 1024x768 pixels (260x195 millimeters) resolution: 100x100 dots per inch depths (9): 1, 4, 8, 12, 16, 24, 30, 32, 8
an additional questions, is why is the screen's depth listed twice?
Is it safe to just increase MAXFORMATS? or is there a more appropriate solution?
Version: 6.9.0
Edited by Adam Jackson