summaryrefslogtreecommitdiff
path: root/src/glut
diff options
context:
space:
mode:
authorJon Taylor <taylorj@ggi-project.org>1999-08-24 02:03:34 +0000
committerJon Taylor <taylorj@ggi-project.org>1999-08-24 02:03:34 +0000
commit668b4ab2fa06c27d423a79f4fe93ae1af62252c7 (patch)
treea8a8990d238ea71db1f6028ae8a3850069f305ba /src/glut
parent6583efcfe9bb139d03b0a35ff76d180268574ce2 (diff)
*** empty log message ***
Diffstat (limited to 'src/glut')
-rw-r--r--src/glut/ggi/ggiglut.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/glut/ggi/ggiglut.c b/src/glut/ggi/ggiglut.c
index 31658c79ff..8a37b33065 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");
}