projects
/
ld42_outofspace
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
I don't think I'll bother any more with this, so I'll just make it start
[ld42_outofspace]
/
src
/
opengl.c
diff --git
a/src/opengl.c
b/src/opengl.c
index
5c3ff44
..
06c637b
100644
(file)
--- a/
src/opengl.c
+++ b/
src/opengl.c
@@
-18,6
+18,9
@@
int init_opengl(void)
if(GLEW_EXT_texture_filter_anisotropic) {
glGetIntegerv(GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT, &glcaps.max_aniso);
}
if(GLEW_EXT_texture_filter_anisotropic) {
glGetIntegerv(GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT, &glcaps.max_aniso);
}
+ if(GLEW_ARB_tessellation_shader) {
+ glGetIntegerv(GL_MAX_TESS_GEN_LEVEL, &glcaps.max_tess_level);
+ }
glcaps.debug = GLEW_ARB_debug_output;
glcaps.debug = GLEW_ARB_debug_output;