X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=freeglut-1.3%2Ffreeglut_internal.h;h=bb9308074a24d4469832560820a1a0697856405c;hb=c85c8a583d485d8eca05ab255963cbc4ecb02bc6;hp=977e69d9c74cda1ef8e8f06a0dacf9ab6fecb20f;hpb=e52b4f43a6c82fb50059cea5d3ef2c824de3b5c7;p=freeglut diff --git a/freeglut-1.3/freeglut_internal.h b/freeglut-1.3/freeglut_internal.h index 977e69d..bb93080 100644 --- a/freeglut-1.3/freeglut_internal.h +++ b/freeglut-1.3/freeglut_internal.h @@ -84,10 +84,9 @@ #include #include - /* - * This will generate errors, but I don't have any idea how to fix it (will autoconf help?) - */ + #ifndef __sgi #include + #endif #endif /* @@ -289,16 +288,18 @@ typedef struct tagSFG_Context SFG_Context; struct tagSFG_Context { #if TARGET_HOST_UNIX_X11 - Window Handle; /* The window's handle */ - GLXContext Context; /* The OpenGL context */ - XVisualInfo* VisualInfo; /* The window's visual information */ + Window Handle; /* The window's handle */ + GLXContext Context; /* The OpenGL context */ + XVisualInfo* VisualInfo; /* The window's visual information */ #elif TARGET_HOST_WIN32 - HWND Handle; /* The window's handle */ - HDC Device; /* The window's device context */ - HGLRC Context; /* The window's WGL context */ + HWND Handle; /* The window's handle */ + HDC Device; /* The window's device context */ + HGLRC Context; /* The window's WGL context */ #endif + + int DoubleBuffered; /* Treat the window as double-buffered */ }; /*