Some RGSS2/RGSS3 compile fixes
This commit is contained in:
		
							parent
							
								
									91aefdc17a
								
							
						
					
					
						commit
						a541cb1205
					
				
					 4 changed files with 6 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -797,7 +797,7 @@ void Graphics::resizeScreen(int width, int height)
 | 
			
		|||
	RBO::bind(p->transBuffer.rbo);
 | 
			
		||||
	RBO::allocEmpty(width, height);
 | 
			
		||||
 | 
			
		||||
	p->updateScreenResoRatio();
 | 
			
		||||
	p->updateScreenResoRatio(p->threadData);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
DEF_ATTR_RD_SIMPLE(Graphics, Brightness, int, p->brightness)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1295,7 +1295,7 @@ void Tilemap::setViewport(Viewport *value)
 | 
			
		|||
 | 
			
		||||
	p->elem.ground->setViewport(value);
 | 
			
		||||
 | 
			
		||||
	for (size_t i = 0; i < p->elem.scanrows.size(); ++i)
 | 
			
		||||
	for (size_t i = 0; i < scanrowsMax; ++i)
 | 
			
		||||
		p->elem.scanrows[i]->setViewport(value);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue