fix uninitialized state in rendertarget sample

This commit is contained in:
Mathias Agopian
2021-04-15 12:01:07 -07:00
committed by Mathias Agopian
parent 1ab127ff03
commit 64187ebe8a

View File

@@ -71,7 +71,7 @@ struct App {
Scene* offscreenScene = nullptr;
Camera* offscreenCamera = nullptr;
ReflectionMode mode;
ReflectionMode mode = ReflectionMode::CAMERA;
Config config;
utils::Entity quadEntity;
@@ -187,7 +187,7 @@ static int handleCommandLineArguments(int argc, char* argv[], App* app) {
}
int main(int argc, char** argv) {
App app;
App app{};
app.config.title = "rendertarget";
handleCommandLineArguments(argc, argv, &app);