glamor: Silence compilation warnings.
Signed-off-by: Zhigang Gong <zhigang.gong@linux.intel.com>
This commit is contained in:
		
							parent
							
								
									229240e565
								
							
						
					
					
						commit
						b60e6cb66d
					
				| 
						 | 
				
			
			@ -102,7 +102,6 @@ glamor_create_pixmap(ScreenPtr screen, int w, int h, int depth,
 | 
			
		|||
    PixmapPtr pixmap;
 | 
			
		||||
    GLenum format;
 | 
			
		||||
    GLuint tex;
 | 
			
		||||
    glamor_pixmap_private *pixmap_priv;
 | 
			
		||||
    enum glamor_pixmap_type type = GLAMOR_GL;
 | 
			
		||||
 | 
			
		||||
    if (w > 32767 || h > 32767)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -34,6 +34,7 @@
 | 
			
		|||
#include "gcstruct.h"
 | 
			
		||||
#include "picturestr.h"
 | 
			
		||||
#include "fb.h"
 | 
			
		||||
#include "fbpict.h"
 | 
			
		||||
 | 
			
		||||
#endif /* GLAMOR_H */
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue