summaryrefslogtreecommitdiffhomepage
path: root/test/sprite.rb
diff options
context:
space:
mode:
authorTom Black <[email protected]>2018-09-29 17:45:36 -0700
committerTom Black <[email protected]>2018-09-29 17:45:36 -0700
commit8d5c566d17fa719b8b940b5cbb468eb16a176c86 (patch)
treefa707d58e60a78459d99ee5865be1c7042bde2e5 /test/sprite.rb
parent04c5441976a4bc90a076e97a4d30aef26d8477d4 (diff)
downloadruby2d-build-wasm.tar.gz
ruby2d-build-wasm.zip
Build for WebAssembly, first passbuild-wasm
Diffstat (limited to 'test/sprite.rb')
-rw-r--r--test/sprite.rb6
1 files changed, 1 insertions, 5 deletions
diff --git a/test/sprite.rb b/test/sprite.rb
index e62488b..251e91e 100644
--- a/test/sprite.rb
+++ b/test/sprite.rb
@@ -1,10 +1,6 @@
require 'ruby2d'
-if RUBY_ENGINE == 'opal'
- media = "../test/media"
-else
- media = "media"
-end
+media = "media"
set title: "Ruby 2D — Sprite", width: 400, height: 300