glamor: yInverted is a boolean value, so use the Bool type.
Signed-off-by: Eric Anholt <eric@anholt.net> Reviewed-by: Keith Packard <keithp@keithp.com> Reviewed-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
		
							parent
							
								
									12cbfeed81
								
							
						
					
					
						commit
						c3c8a5f360
					
				| 
						 | 
					@ -280,10 +280,10 @@ glamor_init(ScreenPtr screen, unsigned int flags)
 | 
				
			||||||
        return FALSE;
 | 
					        return FALSE;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if (flags & GLAMOR_INVERTED_Y_AXIS) {
 | 
					    if (flags & GLAMOR_INVERTED_Y_AXIS) {
 | 
				
			||||||
        glamor_priv->yInverted = 1;
 | 
					        glamor_priv->yInverted = TRUE;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
        glamor_priv->yInverted = 0;
 | 
					        glamor_priv->yInverted = FALSE;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if (!dixRegisterPrivateKey(glamor_screen_private_key, PRIVATE_SCREEN, 0)) {
 | 
					    if (!dixRegisterPrivateKey(glamor_screen_private_key, PRIVATE_SCREEN, 0)) {
 | 
				
			||||||
        LogMessage(X_WARNING,
 | 
					        LogMessage(X_WARNING,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -215,7 +215,7 @@ struct glamor_saved_procs {
 | 
				
			||||||
#define RENDER_IDEL_MAX 32
 | 
					#define RENDER_IDEL_MAX 32
 | 
				
			||||||
 | 
					
 | 
				
			||||||
typedef struct glamor_screen_private {
 | 
					typedef struct glamor_screen_private {
 | 
				
			||||||
    int yInverted;
 | 
					    Bool yInverted;
 | 
				
			||||||
    unsigned int tick;
 | 
					    unsigned int tick;
 | 
				
			||||||
    enum glamor_gl_flavor gl_flavor;
 | 
					    enum glamor_gl_flavor gl_flavor;
 | 
				
			||||||
    int has_pack_invert;
 | 
					    int has_pack_invert;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue