modesetting: Remove #if 0 CMAP_LOAD_EVEN_IF_OFFSCREEN
CMAP_LOAD_EVEN_IF_OFFSCREEN has been encapsulated since the import of xf86-video-modesetting into the tree. Reviewed-by: Adam Jackson <ajax@redhat.com> Signed-off-by: Daniel Martin <consume.noise@gmail.com>
This commit is contained in:
parent
d563443381
commit
78b2ce1410
|
@ -2206,12 +2206,9 @@ drmmode_setup_colormap(ScreenPtr pScreen, ScrnInfoPtr pScrn)
|
|||
if (!miCreateDefColormap(pScreen))
|
||||
return FALSE;
|
||||
/* all radeons support 10 bit CLUTs */
|
||||
if (!xf86HandleColormaps(pScreen, 256, 10,
|
||||
drmmode_load_palette, NULL, CMAP_PALETTED_TRUECOLOR
|
||||
#if 0 /* This option messes up text mode! (eich@suse.de) */
|
||||
| CMAP_LOAD_EVEN_IF_OFFSCREEN
|
||||
#endif
|
||||
| CMAP_RELOAD_ON_MODE_SWITCH))
|
||||
if (!xf86HandleColormaps(pScreen, 256, 10, drmmode_load_palette, NULL,
|
||||
CMAP_PALETTED_TRUECOLOR |
|
||||
CMAP_RELOAD_ON_MODE_SWITCH))
|
||||
return FALSE;
|
||||
return TRUE;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user