diff options
author | Loïc Hoguin <[email protected]> | 2018-02-17 16:05:01 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2018-02-17 16:05:01 +0100 |
commit | 71a00c0f8ae85eab759f8b27d62ffc33713f085f (patch) | |
tree | 777a690392f22e7875b142df78e29d963fbcda99 /examples/hello_sdl | |
parent | c12df73883f626344cee7f3f0497ec75b95f5e1d (diff) | |
download | esdl2-71a00c0f8ae85eab759f8b27d62ffc33713f085f.tar.gz esdl2-71a00c0f8ae85eab759f8b27d62ffc33713f085f.tar.bz2 esdl2-71a00c0f8ae85eab759f8b27d62ffc33713f085f.zip |
Fix examples
Diffstat (limited to 'examples/hello_sdl')
-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 54e0f36..482455b 100644 --- a/examples/hello_sdl/hello_sdl.erl +++ b/examples/hello_sdl/hello_sdl.erl @@ -9,7 +9,7 @@ run() -> init() -> ok = sdl:start([video]), ok = sdl:stop_on_exit(), - {ok, Window} = sdl_window:create("Hello SDL", 10, 10, 500, 500, []), + {ok, Window} = sdl_window:create(<<"Hello SDL">>, 10, 10, 500, 500, []), {ok, Renderer} = sdl_renderer:create(Window, -1, [accelerated, present_vsync]), ok = sdl_renderer:set_draw_color(Renderer, 255, 255, 255, 255), {ok, Texture} = sdl_texture:create_from_file(Renderer, "erlang.png"), |