nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
metrics: move `sum` up to interface `Metric`
[nit.git]
/
lib
/
mnit_linux
/
linux_app.nit
diff --git
a/lib/mnit_linux/linux_app.nit
b/lib/mnit_linux/linux_app.nit
index
4b599ed
..
440187a
100644
(file)
--- a/
lib/mnit_linux/linux_app.nit
+++ b/
lib/mnit_linux/linux_app.nit
@@
-19,18
+19,19
@@
module linux_app
import mnit
import sdl
import linux_opengles1
import mnit
import sdl
import linux_opengles1
+import linux
in "C" `{
#include <EGL/egl.h>
`}
redef class App
in "C" `{
#include <EGL/egl.h>
`}
redef class App
- redef type IE: SDLInputEvent
redef type D: Opengles1Display
redef type I: Opengles1Image
redef fun setup
do
redef type D: Opengles1Display
redef type I: Opengles1Image
redef fun setup
do
+ if "NIT_TESTING".environ == "true" then exit 0
display = new Opengles1Display
super
display = new Opengles1Display
super