nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mailcap: fix Julien Pagès
[nit.git]
/
examples
/
opengles2_hello_triangle.nit
diff --git
a/examples/opengles2_hello_triangle.nit
b/examples/opengles2_hello_triangle.nit
index
4a303c3
..
2b39b1b
100644
(file)
--- a/
examples/opengles2_hello_triangle.nit
+++ b/
examples/opengles2_hello_triangle.nit
@@
-77,6
+77,8
@@
for config in configs do
var attribs = config.attribs(egl_display)
print "* caveats: {attribs.caveat}"
print " conformant to: {attribs.conformant}"
var attribs = config.attribs(egl_display)
print "* caveats: {attribs.caveat}"
print " conformant to: {attribs.conformant}"
+ print " size of RGBA: {attribs.red_size} {attribs.green_size} {attribs.blue_size} {attribs.alpha_size}"
+ print " buffer, depth, stencil: {attribs.buffer_size} {attribs.depth_size} {attribs.stencil_size}"
end
var config = configs.first
end
var config = configs.first