diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/video_core/host_shaders/convert_d32f_to_bgra8.frag | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/host_shaders/convert_d32f_to_bgra8.frag b/src/video_core/host_shaders/convert_d32f_to_bgra8.frag index 82dfca739..789c3e078 100644 --- a/src/video_core/host_shaders/convert_d32f_to_bgra8.frag +++ b/src/video_core/host_shaders/convert_d32f_to_bgra8.frag | |||
| @@ -12,4 +12,4 @@ void main() { | |||
| 12 | float depth = texelFetch(depth_tex, coord, 0).r; | 12 | float depth = texelFetch(depth_tex, coord, 0).r; |
| 13 | color = vec4(depth, depth, depth, 1.0); | 13 | color = vec4(depth, depth, depth, 1.0); |
| 14 | color = color.bgra; // Swap color channels for BGRA format | 14 | color = color.bgra; // Swap color channels for BGRA format |
| 15 | } \ No newline at end of file | 15 | } |