Merge: lib/config: fix doc
[nit.git] / lib / gamnit / display.nit
index 2b694c6..868b359 100644 (file)
@@ -72,4 +72,7 @@ class GamnitDisplay
        #
        # The implementation varies per platform.
        fun feed_events do end
+
+       # Extensions to OpenGL ES 2.0 supported by the current configuration
+       var gl_extensions: Array[String] is lazy do return glGetString(gl_EXTENSIONS).split(' ')
 end