render to pixmap (defaults to off)
authorDerek Foreman <manmower@gmail.com>
Wed, 18 Jun 2003 04:34:38 +0000 (04:34 +0000)
committerDerek Foreman <manmower@gmail.com>
Wed, 18 Jun 2003 04:34:38 +0000 (04:34 +0000)
render2/instance.c

index ea216841832001e74df431c5f30e7c61beb9ab88..e1bebe816d0acc7135e5712cbe3bbf9c17624545 100644 (file)
@@ -91,6 +91,8 @@ struct RrInstance *RrInstanceNew(Display *display, int screen)
         }
 
         inst = malloc(sizeof(struct RrInstance));
+        inst->render_to_pixmap = TRUE; /*XXX parse me from somewhere*/
+        inst->render_to_pixmap = FALSE;
         inst->display = display;
         inst->screen = screen;
         inst->visinfo = vilist[best];
@@ -130,7 +132,6 @@ struct RrInstance *RrInstanceNew(Display *display, int screen)
 
         return inst;
     }
-
     RrDebug("unable to find a suitable GL visual\n");
     return NULL;
 }