aboutsummaryrefslogtreecommitdiffstats
path: root/nihav-core/src/formats.rs
diff options
context:
space:
mode:
authorKostya Shishkov <kostya.shishkov@gmail.com>2019-02-14 16:13:35 +0100
committerKostya Shishkov <kostya.shishkov@gmail.com>2019-04-29 14:36:21 +0200
commitc6297d1f0324638b5d9d818b57c53f626a4e5493 (patch)
tree0f55dae8e5ccdc5654169dedec52b689357f3e15 /nihav-core/src/formats.rs
parent8efb7386391c5605a81acb38d588ff5111765f05 (diff)
downloadnihav-c6297d1f0324638b5d9d818b57c53f626a4e5493.tar.gz
formats: change RGB24 formaton from BGR to RGB
Diffstat (limited to 'nihav-core/src/formats.rs')
-rw-r--r--nihav-core/src/formats.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/nihav-core/src/formats.rs b/nihav-core/src/formats.rs
index 20404bd..69293c6 100644
--- a/nihav-core/src/formats.rs
+++ b/nihav-core/src/formats.rs
@@ -420,9 +420,9 @@ pub const RGB565_FORMAT: NAPixelFormaton = NAPixelFormaton { model: ColorModel::
pub const RGB24_FORMAT: NAPixelFormaton = NAPixelFormaton { model: ColorModel::RGB(RGBSubmodel::RGB), components: 3,
comp_info: [
- chromaton!(packrgb; 8, 0, 2, 3),
- chromaton!(packrgb; 8, 0, 1, 3),
chromaton!(packrgb; 8, 0, 0, 3),
+ chromaton!(packrgb; 8, 0, 1, 3),
+ chromaton!(packrgb; 8, 0, 2, 3),
None, None],
elem_size: 3, be: false, alpha: false, palette: false };