diff options
author | Loïc Hoguin <[email protected]> | 2017-12-20 20:03:16 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2017-12-20 20:03:16 +0100 |
commit | b0950785e72d9d59c6fd816c01d203ecb083c663 (patch) | |
tree | 38cfae31a019ffe7b90d60dea2f6f01c3830e4b3 /examples | |
parent | e4f6a3c1f1032f83b25210dea21bbacf4552f8f0 (diff) | |
download | esdl2-b0950785e72d9d59c6fd816c01d203ecb083c663.tar.gz esdl2-b0950785e72d9d59c6fd816c01d203ecb083c663.tar.bz2 esdl2-b0950785e72d9d59c6fd816c01d203ecb083c663.zip |
Add the sdl_mouse module implementing half of sdl_mouse.h
The latter half will be part of sdl_cursor.
This depends on some changes to nif_helper. The sdl_gl part of
the code is probably slithly broken now, the dependency on the
window is gone. This will be resolved later on.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/hello_sdl/hello_sdl.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/hello_sdl/hello_sdl.erl b/examples/hello_sdl/hello_sdl.erl index 4e06baf..54e0f36 100644 --- a/examples/hello_sdl/hello_sdl.erl +++ b/examples/hello_sdl/hello_sdl.erl @@ -4,7 +4,7 @@ -export([run/0]). run() -> - spawn_opt(fun init/0, [{scheduler, 0}]). + spawn(fun init/0). init() -> ok = sdl:start([video]), |