File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change 3030#include "glamor_font.h"
3131#include <dixfontstr.h>
3232
33- static x_server_generation_t glamor_font_generation ;
3433static int glamor_font_private_index ;
3534static int glamor_font_screen_count ;
3635
@@ -218,13 +217,10 @@ glamor_font_init(ScreenPtr screen)
218217 if (!glamor_glsl_has_ints (glamor_priv ))
219218 return TRUE;
220219
221- if (glamor_font_generation != serverGeneration ) {
222- glamor_font_private_index = xfont2_allocate_font_private_index ();
223- if (glamor_font_private_index == -1 )
224- return FALSE;
225- glamor_font_screen_count = 0 ;
226- glamor_font_generation = serverGeneration ;
227- }
220+ glamor_font_private_index = xfont2_allocate_font_private_index ();
221+ if (glamor_font_private_index == -1 )
222+ return FALSE;
223+ glamor_font_screen_count = 0 ;
228224
229225 if (screen -> myNum >= glamor_font_screen_count )
230226 glamor_font_screen_count = screen -> myNum + 1 ;
You can’t perform that action at this time.
0 commit comments