Introducde getDispatchLoaderStatic() to prevent dangling pointers in debug builds
This commit is contained in:
@@ -30,6 +30,9 @@ int main( int /*argc*/, char ** /*argv*/ )
|
||||
{
|
||||
try
|
||||
{
|
||||
// to prevent a warning on unreferenced function vk::getDispatchLoaderStatic, use just one arbitrary vk-function
|
||||
vk::enumerateInstanceVersion();
|
||||
|
||||
// nullptr_t
|
||||
fct( nullptr );
|
||||
fctc( nullptr );
|
||||
|
||||
Reference in New Issue
Block a user