Patch by Mark Podlipec to fix crashes with XFree86's 32BPP visual.
This commit is contained in:
parent
d747f7885e
commit
c48a4a5005
1 changed files with 10 additions and 0 deletions
10
graphics/xanim/patches/patch-aa
Normal file
10
graphics/xanim/patches/patch-aa
Normal file
|
@ -0,0 +1,10 @@
|
|||
--- xa_x11.c.orig Sun Jan 26 17:22:05 1997
|
||||
+++ xa_x11.c Sun Feb 15 21:17:44 1998
|
||||
@@ -482,6 +482,7 @@
|
||||
x11_depth = vis[vis_i].depth;
|
||||
x11_class = vis[vis_i].class;
|
||||
x11_cmap_size = vis[vis_i].colormap_size;
|
||||
+ if (x11_cmap_size > 256) x11_cmap_size = 256;
|
||||
/* POD - For testing purposes only */
|
||||
if ( (pod_max_colors > 0) && (pod_max_colors < x11_cmap_size) )
|
||||
x11_cmap_size = pod_max_colors;
|
Loading…
Reference in a new issue