From 668b4ab2fa06c27d423a79f4fe93ae1af62252c7 Mon Sep 17 00:00:00 2001 From: Jon Taylor Date: Tue, 24 Aug 1999 02:03:34 +0000 Subject: *** empty log message *** --- src/glut/ggi/ggiglut.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/glut/ggi/ggiglut.c') diff --git a/src/glut/ggi/ggiglut.c b/src/glut/ggi/ggiglut.c index 31658c79ff3..8a37b330657 100644 --- a/src/glut/ggi/ggiglut.c +++ b/src/glut/ggi/ggiglut.c @@ -234,6 +234,7 @@ int glutCreateWindow(const char *title) rgb = !(__glut_mode & GLUT_INDEX); frames = (__glut_mode & GLUT_DOUBLE) ? 2 : 1; + gt = (rgb) ? __glut_gt_rgb : __glut_gt_index; __glut_ctx = GGIMesaCreateContext(); @@ -263,6 +264,7 @@ int glutCreateWindow(const char *title) if (GGIMesaSetVisual(__glut_ctx, __glut_vis, rgb, frames > 1) < 0) { + glut_ggiDEBUG("AAA\n"); ggiPanic("GGIMesaSetVisual failed!\n"); } -- cgit v1.2.3