From 42ed06a5547aeb19b68cf683e4e825a7a0686475 Mon Sep 17 00:00:00 2001 From: hyzboy Date: Mon, 20 May 2019 19:32:25 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BC=96=E7=A0=81=E4=B8=8E=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- example/Vulkan/texture_rect.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/example/Vulkan/texture_rect.cpp b/example/Vulkan/texture_rect.cpp index 413cc521..a1c1573b 100644 --- a/example/Vulkan/texture_rect.cpp +++ b/example/Vulkan/texture_rect.cpp @@ -1,5 +1,5 @@ -// 1.indices_rect -// ¸ÃʾÀýÊÇ0.triangleµÄ½ø»¯£¬ÑÝʾʹÓÃË÷ÒýÊý¾Ý»­Ò»¸ö¾ØÐÎ +// 2.texture_rect +// 该示例是1.indices_rect的进化,演示在矩形上贴上贴图 #include"VulkanAppFramework.h" #include @@ -13,8 +13,8 @@ VK_NAMESPACE_BEGIN Texture2D *LoadTGATexture(const OSString &filename,Device *device); VK_NAMESPACE_END -constexpr uint32_t SCREEN_WIDTH=128; -constexpr uint32_t SCREEN_HEIGHT=128; +constexpr uint32_t SCREEN_WIDTH=256; +constexpr uint32_t SCREEN_HEIGHT=256; struct WorldConfig {