Mark quad dirty on changing plane bitmap
This fixes crashes on Emscripten build
This commit is contained in:
		
							parent
							
								
									ba2e08ec55
								
							
						
					
					
						commit
						e4eb6f837d
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
					@ -180,6 +180,7 @@ void Plane::setBitmap(Bitmap *value)
 | 
				
			||||||
		return;
 | 
							return;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	value->ensureNonMega();
 | 
						value->ensureNonMega();
 | 
				
			||||||
 | 
						p->quadSourceDirty = true;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
void Plane::setOX(int value)
 | 
					void Plane::setOX(int value)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue