From a47839be5642d24c8d644b329ec5d093538156c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Tue, 20 Jan 2015 22:14:27 -0800 Subject: [PATCH] Removed glcontext_ios.h issue #237. --- src/glcontext_ios.h | 38 -------------------------------------- 1 file changed, 38 deletions(-) delete mode 100644 src/glcontext_ios.h diff --git a/src/glcontext_ios.h b/src/glcontext_ios.h deleted file mode 100644 index f0513667..00000000 --- a/src/glcontext_ios.h +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright 2011-2015 Branimir Karadzic. All rights reserved. - * License: http://www.opensource.org/licenses/BSD-2-Clause - */ - -#ifndef BGFX_GLCONTEXT_NSGL_H_HEADER_GUARD -#define BGFX_GLCONTEXT_NSGL_H_HEADER_GUARD - -#if BX_PLATFORM_IOS - -namespace bgfx -{ - struct GlContext - { - GlContext() - : m_context(0) - { - } - - void create(uint32_t _width, uint32_t _height); - void destroy(); - void resize(uint32_t _width, uint32_t _height, bool _vsync); - void swap(); - void import(); - - bool isValid() const - { - return 0 != m_context; - } - - void* m_view; - void* m_context; - }; -} // namespace bgfx - -#endif // BX_PLATFORM_IOS - -#endif // BGFX_GLCONTEXT_NSGL_H_HEADER_GUARD