1
0
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:
Thomas Harte 2018-10-21 21:18:54 -04:00
parent 883680731a
commit 7c65cfd932

View File

@ -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