diff --git a/toonz/sources/include/tmachine.h b/toonz/sources/include/tmachine.h
index 3e1266d..66c7e70 100644
--- a/toonz/sources/include/tmachine.h
+++ b/toonz/sources/include/tmachine.h
@@ -11,7 +11,7 @@
 #define TNZ_MACHINE_CHANNEL_ORDER_MBGR 1
 #elif defined(LINUX)
 #define TNZ_LITTLE_ENDIAN 1
-#define TNZ_MACHINE_CHANNEL_ORDER_RGBM 1
+#define TNZ_MACHINE_CHANNEL_ORDER_BGRM 1
 #elif defined(MACOSX)
 #define TNZ_LITTLE_ENDIAN 0
 #define TNZ_MACHINE_CHANNEL_ORDER_MRGB 1
diff --git a/toonz/sources/include/toonz4.6/machine.h b/toonz/sources/include/toonz4.6/machine.h
index f2fe005..7f02ef5 100644
--- a/toonz/sources/include/toonz4.6/machine.h
+++ b/toonz/sources/include/toonz4.6/machine.h
@@ -28,7 +28,7 @@
 #define TNZ_MACHINE_CHANNEL_ORDER_MBGR 1
 #elif defined(LINUX)
 #define TNZ_LITTLE_ENDIAN 1
-#define TNZ_MACHINE_CHANNEL_ORDER_RGBM 1
+#define TNZ_MACHINE_CHANNEL_ORDER_BGRM 1
 #elif defined(MACOSX)
 #define TNZ_LITTLE_ENDIAN 0
 #define TNZ_MACHINE_CHANNEL_ORDER_MRGB 1