summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/GLInterface/WGL.cpp
diff options
context:
space:
mode:
authorRyan Houdek <Sonicadvance1@gmail.com>2013-12-30 07:22:50 -0600
committerdegasus <wickmarkus@web.de>2014-01-17 15:50:51 +0100
commit71681de81a79c6508f44dfc949026ec2f51943ae (patch)
treed5f83f2100fbcd5891a36dbed97c4469be301b13 /Source/Core/DolphinWX/GLInterface/WGL.cpp
parent770485ad04185c93ea18b8bf86e56569d1fb8f37 (diff)
[GLExtensions] Initial code drop for GLExtensions. This drops GLEW entirely from the codebase. This has been tested on Android and Linux+ATI. Of course untested on Windows and Apple. Also untested with Linux + EGL but should be fine there. There are most likely a couple of extensions I'm missing which would result in null pointer runs but not bad for the initial commit.
Conflicts: CMakeLists.txt Externals/GLew/glew.vcxproj Externals/GLew/glew.vcxproj.filters Source/Core/VideoBackends/OGL/CMakeLists.txt Source/Core/VideoBackends/OGL/GLFunctions.cpp Source/Core/VideoBackends/OGL/GLFunctions.h Source/Core/VideoBackends/OGL/GLUtil.h Source/Core/VideoBackends/OGL/Render.cpp Source/VSProps/Base.props
Diffstat (limited to 'Source/Core/DolphinWX/GLInterface/WGL.cpp')
-rw-r--r--Source/Core/DolphinWX/GLInterface/WGL.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/Core/DolphinWX/GLInterface/WGL.cpp b/Source/Core/DolphinWX/GLInterface/WGL.cpp
index 62a4438c6d..34c5e6a465 100644
--- a/Source/Core/DolphinWX/GLInterface/WGL.cpp
+++ b/Source/Core/DolphinWX/GLInterface/WGL.cpp
@@ -26,6 +26,11 @@ void cInterfaceWGL::Swap()
SwapBuffers(hDC);
}
+void* cInterfaceWGL::GetProcAddress(std::string name)
+{
+ return (void*)wglGetProcAddress((LPCSTR)name.c_str());
+}
+
// Draw messages on top of the screen
bool cInterfaceWGL::PeekMessages()
{