diff options
| author | Stenzek <stenzek@gmail.com> | 2018-10-03 22:28:38 +1000 |
|---|---|---|
| committer | Stenzek <stenzek@gmail.com> | 2018-10-20 21:11:33 +1000 |
| commit | 74b82bab3b6e4e8a1799bbcbdc5244f20f4d2826 (patch) | |
| tree | 0b2a83d57d193a13eaf75b5e3dde855252def265 /Source/Core/Common/GL/GLInterface/EGLHaiku.cpp | |
| parent | 6119212d684ea2f7f9f6e37fe85d502d0dcf0659 (diff) | |
GLInterface: Drop Haiku support
Diffstat (limited to 'Source/Core/Common/GL/GLInterface/EGLHaiku.cpp')
| -rw-r--r-- | Source/Core/Common/GL/GLInterface/EGLHaiku.cpp | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/Source/Core/Common/GL/GLInterface/EGLHaiku.cpp b/Source/Core/Common/GL/GLInterface/EGLHaiku.cpp deleted file mode 100644 index 253b9c8c98..0000000000 --- a/Source/Core/Common/GL/GLInterface/EGLHaiku.cpp +++ /dev/null @@ -1,30 +0,0 @@ -// Copyright 2017 Dolphin Emulator Project -// Licensed under GPLv2+ -// Refer to the license.txt file included. - -#include "Common/GL/GLInterface/EGLHaiku.h" - -#include <Window.h> - -EGLDisplay cInterfaceEGLHaiku::OpenDisplay() -{ - return eglGetDisplay(EGL_DEFAULT_DISPLAY); -} - -EGLNativeWindowType cInterfaceEGLHaiku::InitializePlatform(EGLNativeWindowType host_window, - EGLConfig config) -{ - EGLint format; - eglGetConfigAttrib(egl_dpy, config, EGL_NATIVE_VISUAL_ID, &format); - - BWindow* window = reinterpret_cast<BWindow*>(host_window); - const int width = window->Size().width; - const int height = window->Size().height; - GLInterface->SetBackBufferDimensions(width, height); - - return host_window; -} - -void cInterfaceEGLHaiku::ShutdownPlatform() -{ -} |
