1
0
mirror of https://github.com/TomHarte/CLK.git synced 2025-07-25 13:24:23 +00:00

Composite angles are signed.

This commit is contained in:
Thomas Harte
2020-08-23 21:39:04 -04:00
parent 8b6879a782
commit 807cb99f6d
2 changed files with 14 additions and 9 deletions

View File

@@ -514,14 +514,15 @@ std::unique_ptr<Shader> ScanTarget::composition_shader() const {
)x";
std::string fragment_shader =
"#version 150\n"
R"x(#version 150
"out vec4 fragColour;"
"in vec2 textureCoordinate;"
out vec4 fragColour;
in vec2 textureCoordinate;
"uniform usampler2D textureName;"
uniform usampler2D textureName;
"void main(void) {";
void main(void) {
)x";
switch(modals.input_data_type) {
case InputDataType::Luminance1: