vulkan: adjust code styling

This commit is contained in:
niki
2022-09-10 17:40:46 +02:00
parent 57207606c0
commit a93d153792
22 changed files with 1268 additions and 977 deletions
-4
View File
@@ -70,10 +70,6 @@ struct Rect
{
return x == rhs.x && y == rhs.y && w == rhs.w && h == rhs.h;
}
bool operator != (const Rect& rhs) const {
return !(*this == rhs);
}
};
inline int nextP2(int x)
+1 -2
View File
@@ -673,8 +673,7 @@ int luax_catchexcept(lua_State *L, const T& func)
catch (const std::exception &e)
{
should_error = true;
const char* msg = e.what();
lua_pushstring(L, msg);
lua_pushstring(L, e.what());
}
if (should_error)