| 123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- //********************************** Banshee Engine (www.banshee3d.com) **************************************************//
- //**************** Copyright (c) 2016 Marko Pintera ([email protected]). All rights reserved. **********************//
- #pragma once
- #if BS_PLATFORM == BS_PLATFORM_WIN32
- #include "Win32/BsWin32GLSupport.h"
- #include "Win32/BsWin32VideoModeInfo.h"
- namespace bs { namespace ct
- {
- /** @addtogroup GL
- * @{
- */
- /** Helper method that returns a platform specific GL support object. */
- GLSupport* getGLSupport()
- {
- return bs_new<Win32GLSupport>();
- }
- /** @} */
- }}
- #elif BS_PLATFORM == BS_PLATFORM_LINUX
- namespace bs { namespace ct
- {
- /** @addtogroup GL
- * @{
- */
- /** Helper method that returns a platform specific GL support object. */
- GLSupport* getGLSupport()
- {
- assert(false);
- // TODOPORT - Not implemented
- return nullptr;
- }
- /** @} */
- }}
- #endif
|