BsGLUtil.h 309 B

12345678910111213141516171819
  1. #pragma once
  2. #if BS_PLATFORM == BS_PLATFORM_WIN32
  3. #include "BsWin32GLSupport.h"
  4. #include "BsWin32VideoModeInfo.h"
  5. namespace BansheeEngine
  6. {
  7. /**
  8. * @brief Helper method that returns a platform specific GL support object.
  9. */
  10. GLSupport* getGLSupport()
  11. {
  12. return bs_new<Win32GLSupport>();
  13. }
  14. };
  15. #endif