mirror of
				https://github.com/RetroDECK/ES-DE.git
				synced 2025-04-10 19:15:13 +00:00 
			
		
		
		
	(Windows) Fixed two compiler warnings.
This commit is contained in:
		
							parent
							
								
									19147eee66
								
							
						
					
					
						commit
						0021bee104
					
				|  | @ -152,7 +152,8 @@ void LottieComponent::render(const glm::mat4& parentTrans) | |||
| 
 | ||||
|     glm::mat4 trans{parentTrans * getTransform()}; | ||||
| 
 | ||||
|     mTexture->initFromPixels(&mBuffer2.at(mLastDisplayedFrame).at(0), mSize.x, mSize.y); | ||||
|     mTexture->initFromPixels(&mBuffer2.at(mLastDisplayedFrame).at(0), static_cast<size_t>(mSize.x), | ||||
|                              static_cast<size_t>(mSize.y)); | ||||
|     mTexture->bind(); | ||||
| 
 | ||||
|     if (!mSkipFrame) | ||||
|  | @ -181,4 +182,4 @@ void LottieComponent::render(const glm::mat4& parentTrans) | |||
|                             .count() | ||||
|                      << " ms"; | ||||
|     } | ||||
| }; | ||||
| } | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue
	
	 Leon Styhre
						Leon Styhre