[cairo-commit] CairoJava/jni CairoGlitzSurface.cpp,1.1,1.2

Soorya Kuloor commit at pdx.freedesktop.org
Wed May 5 16:00:37 PDT 2004


Committed by: skuloor

Update of /cvs/cairo/CairoJava/jni
In directory pdx:/tmp/cvs-serv3145/jni

Modified Files:
	CairoGlitzSurface.cpp 
Log Message:
Use RGB24 surface format for on screen surfaces. ARGB32 does not work on some cards (NVIDIA).

Index: CairoGlitzSurface.cpp
===================================================================
RCS file: /cvs/cairo/CairoJava/jni/CairoGlitzSurface.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** a/CairoGlitzSurface.cpp	30 Apr 2004 17:46:37 -0000	1.1
--- b/CairoGlitzSurface.cpp	5 May 2004 23:00:34 -0000	1.2
***************
*** 63,67 ****
      glitz_format_t *format = glitz_glx_find_standard_format (dpy, DefaultScreen (dpy),
                                                               GLITZ_FORMAT_OPTION_ONSCREEN_MASK,
!                                                              GLITZ_STANDARD_ARGB32);
      if (!format) {
          fprintf (stderr, "Couldn't find a usable GLITZ format\n");
--- 63,67 ----
      glitz_format_t *format = glitz_glx_find_standard_format (dpy, DefaultScreen (dpy),
                                                               GLITZ_FORMAT_OPTION_ONSCREEN_MASK,
!                                                              GLITZ_STANDARD_RGB24);
      if (!format) {
          fprintf (stderr, "Couldn't find a usable GLITZ format\n");





More information about the cairo-commit mailing list