aboutsummaryrefslogtreecommitdiff
path: root/src/GPU_OpenGL_shaders.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/GPU_OpenGL_shaders.h')
-rw-r--r--src/GPU_OpenGL_shaders.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/GPU_OpenGL_shaders.h b/src/GPU_OpenGL_shaders.h
index ec975ed..20ac767 100644
--- a/src/GPU_OpenGL_shaders.h
+++ b/src/GPU_OpenGL_shaders.h
@@ -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);
}
)";