projects
/
freeglut
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
John Fay: Implement the modified logic of the direct/indirect rendering context.
[freeglut]
/
src
/
freeglut_internal.h
diff --git
a/src/freeglut_internal.h
b/src/freeglut_internal.h
index
013cae8
..
8c8e1d2
100644
(file)
--- a/
src/freeglut_internal.h
+++ b/
src/freeglut_internal.h
@@
-51,15
+51,6
@@
#endif
#define FREEGLUT_MAX_MENUS 3
#endif
#define FREEGLUT_MAX_MENUS 3
-#define FREEGLUT_DEBUG 1
-
-#if FREEGLUT_DEBUG
- #undef G_DISABLE_ASSERT
- #undef G_DISABLE_CHECKS
-#else
- #define G_DISABLE_ASSERT
- #define G_DISABLE_CHECKS
-#endif
/*
* Somehow all Win32 include headers depend on this one:
/*
* Somehow all Win32 include headers depend on this one:
@@
-231,8
+222,7
@@
struct tagSFG_State
GLboolean Initialised; /* freeglut has been initialised */
GLboolean Initialised; /* freeglut has been initialised */
- GLboolean ForceDirectContext; /* Force direct rendering? */
- GLboolean TryDirectContext; /* What about giving a try to? */
+ int DirectContext; /* Direct rendering state */
GLboolean ForceIconic; /* New top windows are iconified */
GLboolean UseCurrentContext; /* New windows share with current */
GLboolean ForceIconic; /* New top windows are iconified */
GLboolean UseCurrentContext; /* New windows share with current */