diff options
Diffstat (limited to 'main/tests/test_image.cpp')
| -rw-r--r-- | main/tests/test_image.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/main/tests/test_image.cpp b/main/tests/test_image.cpp index aff3bae41..0b120f87d 100644 --- a/main/tests/test_image.cpp +++ b/main/tests/test_image.cpp @@ -41,7 +41,7 @@ class TestMainLoop : public MainLoop { bool quit; public: - virtual void input_event(const InputEvent &p_event) { + virtual void input_event(const Ref<InputEvent> &p_event) { } virtual void init() { @@ -63,11 +63,6 @@ public: MainLoop *test() { - Image img; - ImageLoader::load_image("as1.png", &img); - - img.resize(512, 512); - return memnew(TestMainLoop); } } |
