mirror of
https://github.com/love2d/love.git
synced 2026-08-16 16:20:42 +02:00
vulkan: adjust code styling
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user