Remove duplicated X11 code.

This commit is contained in:
Ryan Houdek
2012-12-26 12:12:26 -06:00
parent 93f72d8463
commit 5169804a61
9 changed files with 272 additions and 406 deletions

View File

@ -22,15 +22,15 @@
#include <X11/Xlib.h>
#include <X11/keysym.h>
#include "X11_Util.h"
#include "InterfaceBase.h"
class cInterfaceGLX : public cInterfaceBase
{
private:
void CreateXWindow();
void DestroyXWindow();
void XEventThread();
cX11Window XWindow;
public:
friend class cX11Window;
void Swap();
void UpdateFPSDisplay(const char *Text);
bool Create(void *&window_handle);