private colour map code only works for 8 bpp, disable otherwise
(from neoware) git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@516 423420c4-83ab-492f-b58f-81f9feb106b5
This commit is contained in:
parent
e035c75aa4
commit
ed5618c619
6
xwin.c
6
xwin.c
@ -705,7 +705,11 @@ ui_init(void)
|
|||||||
return False;
|
return False;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (g_owncolmap != True)
|
/* private colour map code only works for 8 bpp */
|
||||||
|
if (g_owncolmap && (g_bpp > 8))
|
||||||
|
g_owncolmap = False;
|
||||||
|
|
||||||
|
if (!g_owncolmap)
|
||||||
{
|
{
|
||||||
g_xcolmap = DefaultColormapOfScreen(g_screen);
|
g_xcolmap = DefaultColormapOfScreen(g_screen);
|
||||||
if (g_depth <= 8)
|
if (g_depth <= 8)
|
||||||
|
Loading…
Reference in New Issue
Block a user