mirror of
https://github.com/AxioDL/boo.git
synced 2025-12-16 08:27:10 +00:00
Windows bug fixes
This commit is contained in:
@@ -22,6 +22,14 @@ struct SWindowRect
|
||||
{
|
||||
int location[2];
|
||||
int size[2];
|
||||
bool operator !=(const SWindowRect& other) const
|
||||
{
|
||||
return location[0] != other.location[0] ||
|
||||
location[1] != other.location[1] ||
|
||||
size[0] != other.size[0] ||
|
||||
size[1] != other.size[1];
|
||||
}
|
||||
bool operator ==(const SWindowRect& other) const {return !(*this != other);}
|
||||
};
|
||||
|
||||
struct SWindowCoord
|
||||
|
||||
@@ -32,7 +32,6 @@ struct IGraphicsCommandQueue
|
||||
virtual int pendingDynamicSlot()=0;
|
||||
|
||||
virtual void resizeRenderTexture(ITextureR* tex, size_t width, size_t height)=0;
|
||||
virtual void flushBufferUpdates()=0;
|
||||
|
||||
virtual void setClearColor(const float rgba[4])=0;
|
||||
virtual void clearTarget(bool render=true, bool depth=true)=0;
|
||||
|
||||
Reference in New Issue
Block a user