add: RenderTarget
This commit is contained in:
@@ -9,4 +9,10 @@ namespace frame
|
||||
uint32_t width;
|
||||
uint32_t height;
|
||||
};
|
||||
|
||||
inline Size operator/(Size const& size, int div)
|
||||
{
|
||||
return {size.width / div, size.height / div};
|
||||
}
|
||||
|
||||
} // namespace frame
|
||||
|
||||
Reference in New Issue
Block a user