X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Ffreeglut_internal.h;h=3f3541421641e9aae3992e449871921fb8488fb7;hb=c9506afa344cb7108843a871538e10fc375a753c;hp=a97e029f3dbdc24bd3e95c31e78b7ae44131b25d;hpb=97f5adea8d026f9346af276d5cf49fab36a0d0d3;p=freeglut diff --git a/src/freeglut_internal.h b/src/freeglut_internal.h index a97e029..3f35414 100644 --- a/src/freeglut_internal.h +++ b/src/freeglut_internal.h @@ -341,6 +341,8 @@ struct tagSFG_Context #if TARGET_HOST_UNIX_X11 XVisualInfo* VisualInfo; /* The window's visual information */ + Pixmap Pixmap; /* Used for offscreen rendering */ + /* GLXPixmap GLXPixMap; */ /* Used for offscreen rendering */ #elif TARGET_HOST_WIN32 HDC Device; /* The window's device context */ #endif @@ -370,8 +372,8 @@ struct tagSFG_WindowState int MouseX, MouseY; /* The most recent mouse position */ GLboolean IsGameMode; /* Is this the game mode window? */ - GLboolean NeedToResize; /* Do we need to resize the window? */ + GLboolean IsOffscreen; /* Tags a `window' as on/offscreen. */ };