mirror of
https://github.com/MadeOfJelly/MushMachine.git
synced 2024-10-29 22:45:34 +01:00
fix liteparticles2d being named hdr_bloom
This commit is contained in:
parent
563dd80a52
commit
5cc6aa8c74
@ -238,13 +238,13 @@ R"({
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST(hdr_bloom_pipeline, it) {
|
TEST(lite_particles2d, it) {
|
||||||
MM::Engine engine;
|
MM::Engine engine;
|
||||||
|
|
||||||
auto& sdl_ss = engine.addService<MM::Services::SDLService>();
|
auto& sdl_ss = engine.addService<MM::Services::SDLService>();
|
||||||
ASSERT_TRUE(engine.enableService<MM::Services::SDLService>());
|
ASSERT_TRUE(engine.enableService<MM::Services::SDLService>());
|
||||||
|
|
||||||
sdl_ss.createGLWindow("hdr_bloom_pipeline_example", 1280, 720);
|
sdl_ss.createGLWindow("lite_particles2d", 1280, 720);
|
||||||
|
|
||||||
engine.addService<MM::Services::OrganizerSceneService>();
|
engine.addService<MM::Services::OrganizerSceneService>();
|
||||||
ASSERT_TRUE(engine.enableService<MM::Services::OrganizerSceneService>());
|
ASSERT_TRUE(engine.enableService<MM::Services::OrganizerSceneService>());
|
||||||
@ -253,7 +253,7 @@ TEST(hdr_bloom_pipeline, it) {
|
|||||||
ASSERT_TRUE(provide_ret);
|
ASSERT_TRUE(provide_ret);
|
||||||
auto& scene = engine.tryService<MM::Services::SceneServiceInterface>()->getScene();
|
auto& scene = engine.tryService<MM::Services::SceneServiceInterface>()->getScene();
|
||||||
|
|
||||||
engine.addService<MM::Services::FilesystemService>(argv0, "hdr_bloom_pipeline_example");
|
engine.addService<MM::Services::FilesystemService>(argv0, "lite_particles2d");
|
||||||
ASSERT_TRUE(engine.enableService<MM::Services::FilesystemService>());
|
ASSERT_TRUE(engine.enableService<MM::Services::FilesystemService>());
|
||||||
|
|
||||||
auto& rs = engine.addService<MM::Services::OpenGLRenderer>();
|
auto& rs = engine.addService<MM::Services::OpenGLRenderer>();
|
||||||
|
Loading…
Reference in New Issue
Block a user