1
0
mirror of https://github.com/TomHarte/CLK.git synced 2026-04-21 02:17:08 +00:00

Extends TextureTarget so that targets can be created with a one-bit stencil.

This commit is contained in:
Thomas Harte
2018-11-17 15:51:12 -05:00
parent 16dfeb3fc8
commit c173777d12
3 changed files with 15 additions and 3 deletions
+1 -1
View File
@@ -73,7 +73,7 @@ template <typename T> void ScanTarget::allocate_buffer(const T &array, GLuint &b
}
ScanTarget::ScanTarget() :
unprocessed_line_texture_(LineBufferWidth, LineBufferHeight, UnprocessedLineBufferTextureUnit, GL_LINEAR) {
unprocessed_line_texture_(LineBufferWidth, LineBufferHeight, UnprocessedLineBufferTextureUnit, GL_LINEAR, false) {
// Ensure proper initialisation of the two atomic pointer sets.
read_pointers_.store(write_pointers_);