projects
/
freeglut
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
drawing code for solid and wired now shared for all objects
[freeglut]
/
src
/
fg_window.c
diff --git
a/src/fg_window.c
b/src/fg_window.c
index
e7f9275
..
9a980f8
100644
(file)
--- a/
src/fg_window.c
+++ b/
src/fg_window.c
@@
-70,16
+70,9
@@
extern void fgPlatformGlutFullScreenToggle( SFG_Window *win );
/* -- PRIVATE FUNCTIONS ---------------------------------------------------- */
/* -- PRIVATE FUNCTIONS ---------------------------------------------------- */
-int fghIsLegacyContextVersionRequested( void )
-{
- return fgState.MajorVersion < 2 || (fgState.MajorVersion == 2 && fgState.MinorVersion <= 1);
-}
-
int fghIsLegacyContextRequested( void )
{
int fghIsLegacyContextRequested( void )
{
- return fghIsLegacyContextVersionRequested() &&
- fgState.ContextFlags == 0 &&
- fgState.ContextProfile == 0;
+ return fgState.MajorVersion < 2 || (fgState.MajorVersion == 2 && fgState.MinorVersion <= 1);
}
int fghNumberOfAuxBuffersRequested( void )
}
int fghNumberOfAuxBuffersRequested( void )
@@
-152,6
+145,8
@@
void fgOpenWindow( SFG_Window* window, const char* title,
glReadBuffer ( GL_FRONT );
}
#endif
glReadBuffer ( GL_FRONT );
}
#endif
+ window->Window.attribute_v_coord = -1;
+ window->Window.attribute_v_normal = -1;
}
/*
}
/*