mirror of
				https://github.com/webmproject/libwebp.git
				synced 2025-10-31 02:15:42 +01:00 
			
		
		
		
	vwebp: clear canvas during resize w/o animation
this corrects the checkboard pattern displayed with transparent images Change-Id: I5f46dbc9fa3893d61f5f1d4fda643ac030238f94
This commit is contained in:
		| @@ -269,6 +269,7 @@ static void HandleReshape(int width, int height) { | ||||
|   glLoadIdentity(); | ||||
|   kParams.viewport_width = width; | ||||
|   kParams.viewport_height = height; | ||||
|   if (!kParams.has_animation) ClearPreviousFrame(); | ||||
| } | ||||
|  | ||||
| static void PrintString(const char* const text) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user