mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-26 23:52:26 +00:00
Missed an initialisation. Fixed!
This commit is contained in:
parent
0fee8096c1
commit
f388ba11cc
@ -42,7 +42,8 @@ TextureBuilder::TextureBuilder(size_t bytes_per_pixel, GLenum texture_unit) :
|
||||
write_areas_start_x_(0),
|
||||
write_areas_start_y_(0),
|
||||
is_full_(false),
|
||||
did_submit_(false)
|
||||
did_submit_(false),
|
||||
number_of_write_areas_(0)
|
||||
{
|
||||
image_.resize(bytes_per_pixel * InputBufferBuilderWidth * InputBufferBuilderHeight);
|
||||
glGenTextures(1, &texture_name_);
|
||||
|
Loading…
Reference in New Issue
Block a user