diff --git a/5-SkyBox/5-SkyBox.cpp b/5-SkyBox/5-SkyBox.cpp index 9ca62f9e33c08e8b183011cf24208d65ddaf2f35..84f0f4b8b7b689dcbe0ecf9a5d979e57b2841934 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 = {};