We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 69ef758 + 29663b3 commit e4b4611Copy full SHA for e4b4611
src/tests/hello_xr/graphicsplugin_vulkan.cpp
@@ -220,13 +220,13 @@ struct CmdBuffer {
220
return "(Unknown)";
221
}
222
223
-#define CHECK_CBSTATE(s) \
224
- do \
225
- if (state != (s)) { \
226
- (std::string(__FILE__) + "(" + std::to_string(__LINE__) + "): Expecting state " #s " from " + __FUNCTION__ + ", in " + \
227
- StateString(state)); \
228
- return false; \
229
- } \
+#define CHECK_CBSTATE(s) \
+ do \
+ if (state != (s)) { \
+ Log::Write(Log::Level::Error, std::string(__FILE__) + "(" + std::to_string(__LINE__) + \
+ "): Expecting state " #s " from " + __FUNCTION__ + ", in " + StateString(state)); \
+ return false; \
+ } \
230
while (0)
231
232
bool Init(VkDevice device, uint32_t queueFamilyIndex) {
0 commit comments