Fix display resize bug.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1825 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
		
							parent
							
								
									d7ce493a38
								
							
						
					
					
						commit
						132ea32fae
					
				@ -261,7 +261,7 @@ static void pl110_resize(pl110_state *s, int width, int height)
 | 
				
			|||||||
{
 | 
					{
 | 
				
			||||||
    if (width != s->cols || height != s->rows) {
 | 
					    if (width != s->cols || height != s->rows) {
 | 
				
			||||||
        if (pl110_enabled(s)) {
 | 
					        if (pl110_enabled(s)) {
 | 
				
			||||||
            dpy_resize(s->ds, s->cols, s->rows);
 | 
					            dpy_resize(s->ds, width, height);
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    s->cols = width;
 | 
					    s->cols = width;
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user