fix colors

This commit is contained in:
Arisotura 2020-05-25 18:38:10 +02:00
parent 24de8de503
commit 4135ea374b
1 changed files with 3 additions and 3 deletions

View File

@ -155,7 +155,7 @@ void main()
// TODO: filters
oColor = vec4(vec3(pixel.rgb) / 255.0, 1.0);
oColor = vec4(vec3(pixel.bgr) / 255.0, 1.0);
}
)";
@ -310,7 +310,7 @@ void main()
// TODO: filters
oColor = vec4(vec3(pixel.rgb) / 255.0, 1.0);
oColor = vec4(vec3(pixel.bgr) / 255.0, 1.0);
}
)";
@ -855,7 +855,7 @@ void main()
pixel.rgb <<= 2;
pixel.rgb |= (pixel.rgb >> 6);
FragColor = vec4(vec3(pixel.rgb) / 255.0, 1.0);
FragColor = vec4(vec3(pixel.bgr) / 255.0, 1.0);
}
)";