Android compatibility for vulkandebug
This commit is contained in:
parent
b6da703b3b
commit
28e486083e
2 changed files with 4 additions and 2 deletions
|
|
@ -91,7 +91,7 @@ namespace vkDebug
|
||||||
|
|
||||||
void freeDebugCallback(VkInstance instance)
|
void freeDebugCallback(VkInstance instance)
|
||||||
{
|
{
|
||||||
if (msgCallback != nullptr)
|
if (msgCallback != NULL)
|
||||||
{
|
{
|
||||||
DestroyDebugReportCallback(instance, msgCallback, nullptr);
|
DestroyDebugReportCallback(instance, msgCallback, nullptr);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,9 @@
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <io.h>
|
#include <io.h>
|
||||||
#else
|
#endif
|
||||||
|
#ifdef __ANDROID__
|
||||||
|
#include "vulkanandroid.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
namespace vkDebug
|
namespace vkDebug
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue