Android compatibility for vulkandebug

This commit is contained in:
saschawillems 2016-03-05 11:45:35 +01:00
parent b6da703b3b
commit 28e486083e
2 changed files with 4 additions and 2 deletions

View file

@ -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);
} }

View file

@ -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