Another buildfix, sigh. Also extend the safe region a little bit to the thing from a couple commits ago.

This commit is contained in:
Henrik Rydgård 2017-12-13 22:16:54 +01:00
parent d2fe5abb84
commit b4a44c5e02
2 changed files with 2 additions and 3 deletions

View File

@ -17,7 +17,6 @@
#include <string>
#include <cassert>
#include <iostream>
#include <sstream>
#include "Common/Vulkan/VulkanContext.h"
@ -95,7 +94,7 @@ VkBool32 VKAPI_CALL Vulkan_Dbg(VkDebugReportFlagsEXT msgFlags, VkDebugReportObje
}
}
#else
std::cout << message;
ILOG("%s", message.str().c_str());
#endif
// false indicates that layer should not bail-out of an

View File

@ -1077,7 +1077,7 @@ public:
return true;
#else
ptrdiff_t diff = GetCodePtr() - (const uint8_t *)ptr;
return diff > -0x7FFFFFF0 && diff < 0x7FFFFFF0;
return diff > -0x7FFFFFE0 && diff < 0x7FFFFFE0;
#endif
}
};