nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9122e99
)
gamnit: print gl_MAX_TEXTURE_SIZE with other driver data
author
Alexis Laferrière
<alexis.laf@xymus.net>
Sat, 16 Dec 2017 14:56:15 +0000
(09:56 -0500)
committer
Alexis Laferrière
<alexis.laf@xymus.net>
Thu, 4 Jan 2018 21:28:27 +0000
(16:28 -0500)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/gamnit/gamnit.nit
patch
|
blob
|
history
diff --git
a/lib/gamnit/gamnit.nit
b/lib/gamnit/gamnit.nit
index
3051553
..
8f60056
100644
(file)
--- a/
lib/gamnit/gamnit.nit
+++ b/
lib/gamnit/gamnit.nit
@@
-45,6
+45,7
@@
redef class App
print "GL version: {glGetString(gl_VERSION)}"
print "GLSL version: {glGetString(gl_SHADING_LANGUAGE_VERSION)}"
print "GL extensions: {glGetString(gl_EXTENSIONS)}"
+ print "GL max texture size: {glGetIntegerv(gl_MAX_TEXTURE_SIZE, 0)}"
end
# Hook for client programs to setup the scene