From d5896944f4fb9e2674faf445cd45e5bf1306a1d3 Mon Sep 17 00:00:00 2001 From: omar Date: Wed, 9 Oct 2024 16:16:13 +0200 Subject: [PATCH] Updated Image Loading and Displaying Examples (markdown) --- Image-Loading-and-Displaying-Examples.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Image-Loading-and-Displaying-Examples.md b/Image-Loading-and-Displaying-Examples.md index 4cb664d..f1bfcc8 100644 --- a/Image-Loading-and-Displaying-Examples.md +++ b/Image-Loading-and-Displaying-Examples.md @@ -669,14 +669,14 @@ IM_ASSERT(ret); Now that we have a SDL_Texture and its dimensions, we can display it in our main loop: ```cpp -ImGui::Begin("SDL2/SDL_Renderer Texture Test"); +ImGui::Begin("SDL_Renderer Texture Test"); ImGui::Text("pointer = %p", my_texture); ImGui::Text("size = %d x %d", my_image_width, my_image_height); ImGui::Image((ImTextureID)(intptr_t)my_texture, ImVec2((float)my_image_width, (float)my_image_height)); ImGui::End(); ``` -![image](https://github.com/user-attachments/assets/e353d1a0-b8bc-423d-92bd-cc739c058dde) +![image](https://github.com/user-attachments/assets/4d5f4c13-5cbe-4516-bc9e-3005be2fba4b) ##### [Return to Index](#index)