vulkan: implement vsync setting

This commit is contained in:
niki
2022-08-19 21:40:21 +02:00
parent be8778b4eb
commit 7be9bb3ecc
6 changed files with 41 additions and 25 deletions
-10
View File
@@ -83,16 +83,6 @@ public:
**/
void operator *= (const Matrix4 &m);
static friend bool operator==(const Matrix4& first, const Matrix4& other)
{
for (int i = 0; i < 16; i++) {
if (first.e[i] != other.e[i]) {
return false;
}
}
return true;
}
/**
* Gets a pointer to the 16 array elements.
* @return The array elements.