mirror of
https://github.com/AxioDL/boo.git
synced 2025-12-18 01:15:26 +00:00
D3D11 Buffer update fix
This commit is contained in:
@@ -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] ||
|
||||
|
||||
Reference in New Issue
Block a user