把vkformat stride校验移到VulkanAppFramework
This commit is contained in:
parent
abe66192d6
commit
1fbf0d34ed
@ -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"));
|
||||
|
@ -176,11 +176,6 @@ public:
|
||||
|
||||
int main(int,char **)
|
||||
{
|
||||
#ifdef _DEBUG
|
||||
if(!vulkan::CheckStrideBytesByFormat())
|
||||
return 0xff;
|
||||
#endif//
|
||||
|
||||
TestApp app;
|
||||
|
||||
if(!app.Init())
|
||||
|
Loading…
x
Reference in New Issue
Block a user