mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-19 08:31:11 +00:00
Adds default values for WriteArea
.
This commit is contained in:
parent
883680731a
commit
7c65cfd932
@ -91,7 +91,7 @@ class TextureBuilder {
|
|||||||
void submit();
|
void submit();
|
||||||
|
|
||||||
struct WriteArea {
|
struct WriteArea {
|
||||||
uint16_t x, y, length;
|
uint16_t x = 0, y = 0, length = 0;
|
||||||
};
|
};
|
||||||
/// Finalises all write areas allocated since the last call to @c flush. Only finalised areas will be
|
/// Finalises all write areas allocated since the last call to @c flush. Only finalised areas will be
|
||||||
/// submitted upon the next @c submit. The supplied function will be called with a list of write areas
|
/// submitted upon the next @c submit. The supplied function will be called with a list of write areas
|
||||||
|
Loading…
Reference in New Issue
Block a user