From fa15efa6be736724a88188e25e6493e4c76b6dfc Mon Sep 17 00:00:00 2001 From: Administrator Date: Fri, 22 May 2020 15:39:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B95-SkyBox=EF=BC=8C=E4=B8=BA?= =?UTF-8?q?=E4=BA=86=E6=B5=8B=E8=AF=95=E4=B8=8D=E5=90=8C=E7=9A=84CubeMap?= =?UTF-8?q?=E7=BA=B9=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 5-SkyBox/5-SkyBox.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/5-SkyBox/5-SkyBox.cpp b/5-SkyBox/5-SkyBox.cpp index 9ca62f9..84f0f4b 100644 --- a/5-SkyBox/5-SkyBox.cpp +++ b/5-SkyBox/5-SkyBox.cpp @@ -278,9 +278,9 @@ int APIENTRY _tWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR l CD3DX12_RECT stScissorRect(0, 0, static_cast(iWndWidth), static_cast(iWndHeight)); //球体的网格数据 - ST_GRS_VERTEX* pstSphereVertices = nullptr; + ST_GRS_VERTEX* pstSphereVertices = nullptr; UINT nSphereVertexCnt = 0; - UINT* pSphereIndices = nullptr; + UINT* pSphereIndices = nullptr; UINT nSphereIndexCnt = 0; //Sky Box的网格数据 @@ -1251,7 +1251,6 @@ int APIENTRY _tWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR l //--------------------------------------------------------------------------------------------- } - // 创建SRV描述符 { D3D12_SHADER_RESOURCE_VIEW_DESC stSRVDesc = {}; -- GitLab