mirror of
				https://github.com/ocornut/imgui.git
				synced 2025-10-26 12:27:30 +00:00 
			
		
		
		
	Examples: Vulkan: Fixed GLFW+Vulkan and SDL+Vulkan clear color not being set. Broken by a06eb833 (#3390)
				
					
				
			This commit is contained in:
		| @@ -513,6 +513,7 @@ int main(int, char**) | ||||
|         const bool is_minimized = (draw_data->DisplaySize.x <= 0.0f || draw_data->DisplaySize.y <= 0.0f); | ||||
|         if (!is_minimized) | ||||
|         { | ||||
|             memcpy(&wd->ClearValue.color.float32[0], &clear_color, 4 * sizeof(float)); | ||||
|             FrameRender(wd, draw_data); | ||||
|             FramePresent(wd); | ||||
|         } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 ocornut
					ocornut