mirror of
https://github.com/TomHarte/CLK.git
synced 2026-04-26 19:17:52 +00:00
Ensures texture targets are initially clear.
This commit is contained in:
@@ -70,6 +70,9 @@ TextureTarget::TextureTarget(GLsizei width, GLsizei height, GLenum texture_unit,
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
// Clear the framebuffer.
|
||||
test_gl(glClear, GL_COLOR_BUFFER_BIT);
|
||||
}
|
||||
|
||||
TextureTarget::~TextureTarget() {
|
||||
|
||||
Reference in New Issue
Block a user