mirror of
https://github.com/opus-tango/IntroductionToVulkan.git
synced 2026-03-20 03:55:26 +00:00
Fixed indentation and unnecessary whitespaces in Tutorial01.cpp and Tutorial04.cpp.
This commit is contained in:
@@ -78,8 +78,8 @@ namespace Tutorial {
|
|||||||
|
|
||||||
#define VK_EXPORTED_FUNCTION( fun ) \
|
#define VK_EXPORTED_FUNCTION( fun ) \
|
||||||
if( !(fun = (PFN_##fun)LoadProcAddress( VulkanLibrary, #fun )) ) { \
|
if( !(fun = (PFN_##fun)LoadProcAddress( VulkanLibrary, #fun )) ) { \
|
||||||
printf( "Could not load exported function: " #fun "!\n" ); \
|
printf( "Could not load exported function: " #fun "!\n" ); \
|
||||||
return false; \
|
return false; \
|
||||||
}
|
}
|
||||||
|
|
||||||
#include "ListOfFunctions.inl"
|
#include "ListOfFunctions.inl"
|
||||||
|
|||||||
@@ -133,7 +133,7 @@ namespace Tutorial {
|
|||||||
i // uint32_t memoryTypeIndex
|
i // uint32_t memoryTypeIndex
|
||||||
};
|
};
|
||||||
|
|
||||||
if( vkAllocateMemory( GetDevice( ), &memory_allocate_info, nullptr, memory ) == VK_SUCCESS ) {
|
if( vkAllocateMemory( GetDevice(), &memory_allocate_info, nullptr, memory ) == VK_SUCCESS ) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user