把vkformat stride校验移到VulkanAppFramework

This commit is contained in:
hyzboy 2019-05-06 11:41:05 +08:00
parent abe66192d6
commit 1fbf0d34ed
2 changed files with 5 additions and 5 deletions

View File

@ -43,6 +43,11 @@ public:
virtual bool Init(int w,int h)
{
#ifdef _DEBUG
if(!vulkan::CheckStrideBytesByFormat())
return(false);
#endif//
InitNativeWindowSystem();
win=CreateRenderWindow(OS_TEXT("VulkanTest"));

View File

@ -176,11 +176,6 @@ public:
int main(int,char **)
{
#ifdef _DEBUG
if(!vulkan::CheckStrideBytesByFormat())
return 0xff;
#endif//
TestApp app;
if(!app.Init())