3
0

main.cpp 594 B

12345678910111213141516171819202122232425
  1. /*
  2. * Copyright (c) Contributors to the Open 3D Engine Project.
  3. * For complete copyright and license terms please see the LICENSE at the root of this distribution.
  4. *
  5. * SPDX-License-Identifier: Apache-2.0 OR MIT
  6. *
  7. */
  8. #include <MaterialEditorApplication.h>
  9. int main(int argc, char** argv)
  10. {
  11. const AZ::Debug::Trace tracer;
  12. AzQtComponents::AzQtApplication::InitializeDpiScaling();
  13. MaterialEditor::MaterialEditorApplication app(&argc, &argv);
  14. if (app.LaunchLocalServer())
  15. {
  16. app.Start({}, {});
  17. app.RunMainLoop();
  18. app.Stop();
  19. }
  20. return 0;
  21. }