XnaGraphicsProfileChecker.cpp 721 B

123456789101112131415161718192021222324
  1. //-----------------------------------------------------------------------------
  2. // XnaGraphicsProfileChecker.cpp
  3. //
  4. // Microsoft XNA Community Game Platform
  5. // Copyright (C) Microsoft Corporation. All rights reserved.
  6. //-----------------------------------------------------------------------------
  7. #include "stdafx.h"
  8. #include "MainForm.h"
  9. using namespace XnaGraphicsProfileChecker;
  10. [STAThreadAttribute]
  11. int main(array<System::String ^> ^args)
  12. {
  13. // Enabling Windows XP visual effects before any controls are created
  14. Application::EnableVisualStyles();
  15. Application::SetCompatibleTextRenderingDefault(false);
  16. // Create the main window and run it
  17. Application::Run(gcnew MainForm());
  18. return 0;
  19. }