X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Ffg_internal.h;h=da0b44df15dc5472f058f5d8efa59ca79fc6d744;hb=18b98d967eff786c89bfeed8e1f636f686bb1b10;hp=2119d1a1da90a5a7b67de48b3ca732278800fbfd;hpb=6de0216ace8e54ec823458b2cd0df3b6438a0e1f;p=freeglut diff --git a/src/fg_internal.h b/src/fg_internal.h index 2119d1a..da0b44d 100644 --- a/src/fg_internal.h +++ b/src/fg_internal.h @@ -320,6 +320,7 @@ struct tagSFG_State int MinorVersion; /* Minor OpenGL context version */ int ContextFlags; /* OpenGL context flags */ int ContextProfile; /* OpenGL context profile */ + int HasOpenGL20; /* fgInitGL2 could find all OpenGL 2.0 functions */ FGError ErrorFunc; /* User defined error handler */ FGWarning WarningFunc; /* User defined warning handler */ }; @@ -360,6 +361,8 @@ struct tagSFG_Context SFG_PlatformContext pContext; /* The window's FBConfig (X11) or device context (Windows) */ int DoubleBuffered; /* Treat the window as double-buffered */ + GLint attribute_v_coord; + GLint attribute_v_normal; };