mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-29 12:50:28 +00:00
Sets a clear colour appropriate for phase-linked luminance clearing.
This commit is contained in:
parent
e5f75b5df2
commit
6ba1194d74
@ -83,6 +83,7 @@ ScanTarget::ScanTarget(GLuint target_framebuffer, float output_gamma) :
|
|||||||
// write straight into it.
|
// write straight into it.
|
||||||
|
|
||||||
glGenTextures(1, &write_area_texture_name_);
|
glGenTextures(1, &write_area_texture_name_);
|
||||||
|
glClearColor(0.0f, 0.0f, 0.0f, 0.0f);
|
||||||
|
|
||||||
glBlendFunc(GL_SRC_ALPHA, GL_CONSTANT_COLOR);
|
glBlendFunc(GL_SRC_ALPHA, GL_CONSTANT_COLOR);
|
||||||
glBlendColor(0.4f, 0.4f, 0.4f, 1.0f);
|
glBlendColor(0.4f, 0.4f, 0.4f, 1.0f);
|
||||||
|
Loading…
Reference in New Issue
Block a user