Rename the interface files and hopefully fix OSX building.

This commit is contained in:
Ryan Houdek
2012-12-25 19:08:24 -06:00
parent 09b05c0f6c
commit 01953ff64a
16 changed files with 29 additions and 25 deletions

View File

@ -14,21 +14,21 @@
// Official SVN repository and contact information can be found at
// http://code.google.com/p/dolphin-emu/
#ifndef _VIDEOINTERFACE_H_
#define _VIDEOINTERFACE_H_
#ifndef _GLINTERFACE_H_
#define _GLINTERFACE_H_
#include "Thread.h"
#if defined(USE_EGL) && USE_EGL
#include "VideoInterface/EGL.h"
#include "GLInterface/EGL.h"
#elif defined(USE_WX) && USE_WX
#include "VideoInterface/WX.h"
#include "GLInterface/WX.h"
#elif defined(__APPLE__)
#include "VideoInterface/AGL.h"
#include "GLInterface/AGL.h"
#elif defined(_WIN32)
#include "VideoInterface/WGL.h"
#include "GLInterface/WGL.h"
#elif defined(HAVE_X11) && HAVE_X11
#include "VideoInterface/GLX.h"
#include "GLInterface/GLX.h"
#endif
typedef struct {

View File

@ -20,7 +20,7 @@
#include "RenderBase.h"
#include "VertexShaderManager.h"
#include "../GLVideoInterface.h"
#include "../GLInterface.h"
#include "AGL.h"
void cInterfaceAGL::SwapBuffers()

View File

@ -20,7 +20,7 @@
#include "RenderBase.h"
#include "VertexShaderManager.h"
#include "../GLVideoInterface.h"
#include "../GLInterface.h"
#include "EGL.h"
void cInterfaceEGL::CreateXWindow(void)
@ -294,7 +294,6 @@ bool cInterfaceEGL::CreateWindow(void *&window_handle)
if (GLWin.parent == 0)
GLWin.parent = RootWindow(GLWin.x_dpy, GLWin.screen);
unsigned long mask;
XVisualInfo visTemplate;
int num_visuals;
EGLConfig config;

View File

@ -20,7 +20,7 @@
#include "RenderBase.h"
#include "VertexShaderManager.h"
#include "../GLVideoInterface.h"
#include "../GLInterface.h"
#include "GLX.h"
void cInterfaceGLX::CreateXWindow(void)

View File

@ -20,7 +20,7 @@
#include "RenderBase.h"
#include "VertexShaderManager.h"
#include "../GLVideoInterface.h"
#include "../GLInterface.h"
#include "WGL.h"
#include "EmuWindow.h"

View File

@ -20,7 +20,7 @@
#include "RenderBase.h"
#include "VertexShaderManager.h"
#include "../GLVideoInterface.h"
#include "../GLInterface.h"
#include "WX.h"
void cInterfaceWX::SwapBuffers()