diff options
Diffstat (limited to 'shaders/blit.fragment')
-rw-r--r-- | shaders/blit.fragment | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shaders/blit.fragment b/shaders/blit.fragment index 07a0279..a96f217 100644 --- a/shaders/blit.fragment +++ b/shaders/blit.fragment | |||
@@ -2,11 +2,11 @@ | |||
2 | 2 | ||
3 | in vec2 UV; | 3 | in vec2 UV; |
4 | 4 | ||
5 | out vec3 color; | 5 | out vec4 color; |
6 | 6 | ||
7 | uniform sampler2D srctex; | 7 | uniform sampler2D srctex; |
8 | 8 | ||
9 | void main() | 9 | void main() |
10 | { | 10 | { |
11 | color = texture(srctex, UV).xyz; | 11 | color = texture(srctex, UV); |
12 | } | 12 | } |