From 50f12fb7268940a04867222fd72dd11183177f0d Mon Sep 17 00:00:00 2001 From: Derek Foreman Date: Wed, 18 Jun 2003 04:34:38 +0000 Subject: [PATCH] render to pixmap (defaults to off) --- render2/instance.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/render2/instance.c b/render2/instance.c index ea216841..e1bebe81 100644 --- a/render2/instance.c +++ b/render2/instance.c @@ -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; } -- 2.34.1