vulkan: implement setScissor

This commit is contained in:
niki
2022-07-16 23:19:24 +02:00
parent 974c50c751
commit 9b7cfef5ef
4 changed files with 52 additions and 11 deletions
+4
View File
@@ -70,6 +70,10 @@ 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)