[cairo-commit] rendertest/src glitz_agl.c, 1.4, 1.5 glitz_glx.c, 1.4, 1.5

David Reveman commit at pdx.freedesktop.org
Mon Sep 6 15:54:46 PDT 2004


Committed by: davidr

Update of /cvs/cairo/rendertest/src
In directory gabe:/tmp/cvs-serv11214/src

Modified Files:
	glitz_agl.c glitz_glx.c 
Log Message:
Tracking changes to glitz

Index: glitz_agl.c
===================================================================
RCS file: /cvs/cairo/rendertest/src/glitz_agl.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** glitz_agl.c	6 Sep 2004 22:28:24 -0000	1.4
--- glitz_agl.c	6 Sep 2004 22:54:44 -0000	1.5
***************
*** 190,194 ****
    }
  
!   surface.surface = glitz_agl_surface_create_for_window (format, win);
    if (!surface.surface) {
      fprintf (stderr, "Error: couldn't create glitz surface for window\n");
--- 190,196 ----
    }
  
!   surface.surface = glitz_agl_surface_create_for_window (format, win,
!                                                          surface.width,
!                                                          surface.height);
    if (!surface.surface) {
      fprintf (stderr, "Error: couldn't create glitz surface for window\n");

Index: glitz_glx.c
===================================================================
RCS file: /cvs/cairo/rendertest/src/glitz_glx.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** glitz_glx.c	6 Sep 2004 22:28:24 -0000	1.4
--- glitz_glx.c	6 Sep 2004 22:54:44 -0000	1.5
***************
*** 206,211 ****
    }
  
!   vinfo = glitz_glx_get_visual_info_from_format (display, screen, format);
!   
    if (!vinfo) {
      fprintf (stderr, "Error: no visual info from format\n");
--- 206,210 ----
    }
  
!   vinfo = glitz_glx_get_visual_info_from_format (display, screen, format);  
    if (!vinfo) {
      fprintf (stderr, "Error: no visual info from format\n");
***************
*** 224,228 ****
    
    surface.surface =
!     glitz_glx_surface_create_for_window (display, screen, format, win);
    if (!surface.surface) {
      fprintf (stderr, "Error: couldn't create glitz surface for window\n");
--- 223,229 ----
    
    surface.surface =
!     glitz_glx_surface_create_for_window (display, screen, format, win,
!                                          surface.width,
!                                          surface.height);
    if (!surface.surface) {
      fprintf (stderr, "Error: couldn't create glitz surface for window\n");




More information about the cairo-commit mailing list