comparison libvo/vo_x11.c @ 25239:c1b3a06a3c6e

Format mapping table should be const
author reimar
date Sun, 02 Dec 2007 20:43:35 +0000
parents c9e9ac2008c2
children f689811209b1
comparison
equal deleted inserted replaced
25238:f42b8e689416 25239:c1b3a06a3c6e
266 #define BO_NONNATIVE LSBFirst 266 #define BO_NONNATIVE LSBFirst
267 #else 267 #else
268 #define BO_NATIVE LSBFirst 268 #define BO_NATIVE LSBFirst
269 #define BO_NONNATIVE MSBFirst 269 #define BO_NONNATIVE MSBFirst
270 #endif 270 #endif
271 struct fmt2Xfmtentry_s { 271 const struct fmt2Xfmtentry_s {
272 uint32_t mpfmt; 272 uint32_t mpfmt;
273 int byte_order; 273 int byte_order;
274 unsigned red_mask; 274 unsigned red_mask;
275 unsigned green_mask; 275 unsigned green_mask;
276 unsigned blue_mask; 276 unsigned blue_mask;
314 unsigned int fg, bg; 314 unsigned int fg, bg;
315 XGCValues xgcv; 315 XGCValues xgcv;
316 Colormap theCmap; 316 Colormap theCmap;
317 XSetWindowAttributes xswa; 317 XSetWindowAttributes xswa;
318 unsigned long xswamask; 318 unsigned long xswamask;
319 struct fmt2Xfmtentry_s *fmte = fmt2Xfmt; 319 const struct fmt2Xfmtentry_s *fmte = fmt2Xfmt;
320 320
321 #ifdef HAVE_XF86VM 321 #ifdef HAVE_XF86VM
322 unsigned int modeline_width, modeline_height; 322 unsigned int modeline_width, modeline_height;
323 static uint32_t vm_width; 323 static uint32_t vm_width;
324 static uint32_t vm_height; 324 static uint32_t vm_height;