D3D11 Buffer update fix

This commit is contained in:
Jack Andersen
2016-01-02 11:16:50 -10:00
parent bcfff2bf7f
commit 6ee5e9011b
2 changed files with 17 additions and 6 deletions

View File

@@ -34,6 +34,17 @@ struct SWindowRect
{
int location[2];
int size[2];
SWindowRect() {memset(this, 0, sizeof(SWindowRect));}
SWindowRect(int x, int y, int w, int h)
{
location[0] = x;
location[1] = y;
size[0] = w;
size[1] = h;
}
bool operator!=(const SWindowRect& other) const
{
return location[0] != other.location[0] ||