mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-24 03:11:09 +00:00
fix windows build
add the GL include (back) to Base.props use a similar technique to GLX.cpp (by Sonic) in WGL.cpp to get wglSwapIntervalEXT without the WGLEW check Conflicts: Source/Core/VideoBackends/OGL/OGL.vcxproj Source/Core/VideoBackends/OGL/OGL.vcxproj.filters Source/VSProps/Base.props
This commit is contained in:
parent
10bd61a9d2
commit
f4bd7bdef0
5 changed files with 131 additions and 2 deletions
|
@ -5,7 +5,9 @@
|
|||
#include "GLExtensions.h"
|
||||
#include "Log.h"
|
||||
|
||||
#if defined(__linux__)
|
||||
#include <dlfcn.h>
|
||||
#endif
|
||||
#include <unordered_map>
|
||||
|
||||
// gl_1_2
|
||||
|
|
|
@ -2,6 +2,9 @@
|
|||
// Licensed under GPLv2
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#include <GL/gl.h>
|
||||
#include <GL/glext.h>
|
||||
|
||||
#ifndef GLAPIENTRY
|
||||
#define GLAPIENTRY
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue