EGLInterface: Create shared context with same attributes as main context

This commit is contained in:
Stenzek
2017-07-27 11:57:32 +10:00
parent aff44684a4
commit 447aeb8f77
2 changed files with 8 additions and 20 deletions

View File

@ -7,6 +7,7 @@
#include <EGL/egl.h>
#include <EGL/eglext.h>
#include <string>
#include <vector>
#include "Common/GL/GLInterfaceBase.h"
@ -17,6 +18,7 @@ private:
bool m_has_handle;
EGLNativeWindowType m_host_window;
bool m_supports_surfaceless = false;
std::vector<int> m_attribs;
bool CreateWindowSurface();
void DestroyWindowSurface();