BsGLUtil.h 591 B

123456789101112131415161718192021
  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 BansheeEngine
  8. {
  9. /**
  10. * @brief Helper method that returns a platform specific GL support object.
  11. */
  12. GLSupport* getGLSupport()
  13. {
  14. return bs_new<Win32GLSupport>();
  15. }
  16. };
  17. #endif