BsGLUtil.h 617 B

12345678910111213141516171819202122232425
  1. //********************************** Banshee Engine (www.banshee3d.com) **************************************************//
  2. //**************** Copyright (c) 2016 Marko Pintera ([email protected]). All rights reserved. **********************//
  3. #pragma once
  4. #if BS_PLATFORM == BS_PLATFORM_WIN32
  5. #include "Win32/BsWin32GLSupport.h"
  6. #include "Win32/BsWin32VideoModeInfo.h"
  7. namespace bs
  8. {
  9. /** @addtogroup GL
  10. * @{
  11. */
  12. /** Helper method that returns a platform specific GL support object. */
  13. GLSupport* getGLSupport()
  14. {
  15. return bs_new<Win32GLSupport>();
  16. }
  17. /** @} */
  18. };
  19. #endif