]> Dogcows Code - chaz/openbox/blobdiff - otk/truerendercontrol.hh
added compile time check for client endianness
[chaz/openbox] / otk / truerendercontrol.hh
index 3a5d3e5aa3847e8ce54f297e54e6e0f7e2205ffb..b44969aa2ff0489dbf43251c489d12d778a33e38 100644 (file)
@@ -32,10 +32,12 @@ typedef u_int16_t pixel16;
 const int default_red_shift=0;
 const int default_green_shift=8;
 const int default_blue_shift=16;
+const int endian=MSBFirst;
 #else
 const int default_red_shift=16;
 const int default_green_shift=8;
 const int default_blue_shift=0;
+const int endian=LSBFirst;
 #endif /* WORDS_BIGENDIAN */
 
 class TrueRenderControl : public RenderControl {
This page took 0.022536 seconds and 4 git commands to generate.