mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
880 B

  1. GL_UNSIGNED_BYTE does produce incorrect (incorrectly byte-swapped) results
  2. with both software rendering (MESA) and the radeon accelerator ...
  3. - Rene Rebe <rene@rocklinux.org>
  4. --- evas-2004-02-25/src/lib/engines/gl_common/evas_gl_private.h 2004-02-04 05:38:34.000000000 +0100
  5. +++ evas-2004-02-25-hacking/src/lib/engines/gl_common/evas_gl_private.h 2004-02-27 05:05:52.000000000 +0100
  6. @@ -78,8 +78,10 @@
  7. /* evas ARGB pixel config */
  8. #define NATIVE_PIX_FORMAT GL_BGRA
  9. /* fast on vidia */
  10. -/*#define NATIVE_PIX_UNIT GL_UNSIGNED_INT_8_8_8_8_REV*/
  11. +/* #define NATIVE_PIX_UNIT GL_UNSIGNED_INT_8_8_8_8_REV /*
  12. /* fast on ati compared to GL_UNSIGNED_INT_8_8_8_8_REV */
  13. -#define NATIVE_PIX_UNIT GL_UNSIGNED_BYTE
  14. +/* #define NATIVE_PIX_UNIT GL_UNSIGNED_BYTE */
  15. +/* works compared to GL_UNSIGNED_BYTE -ReneR */
  16. +#define NATIVE_PIX_UNIT GL_UNSIGNED_INT_8_8_8_8_REV
  17. #endif