[Clean] Fixing some more tab formatting.
This commit is contained in:
parent
d4966f1723
commit
d557c1ae30
@ -1,6 +1,6 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#define GLX_GLXEXT_LEGACY // Use our local glxext.h rather than the system one.
|
#define GLX_GLXEXT_LEGACY // Use our local glxext.h rather than the system one.
|
||||||
|
|
||||||
#include <GL/glx.h>
|
#include <GL/glx.h>
|
||||||
#include "../glx/glxext.h"
|
#include "../glx/glxext.h"
|
||||||
@ -21,11 +21,10 @@ public:
|
|||||||
bool Create(int width, int hight, int bpp, bool fullscreen);
|
bool Create(int width, int hight, int bpp, bool fullscreen);
|
||||||
void Destroy(void);
|
void Destroy(void);
|
||||||
void ProcessEvents(void);
|
void ProcessEvents(void);
|
||||||
void AttachGame(Game* game) { _game = game; }
|
void AttachGame(Game* game) { _game = game; }
|
||||||
|
|
||||||
bool IsRunning(void) { return _isRunning; }
|
bool IsRunning(void) { return _isRunning; }
|
||||||
|
void SwapBuffers(void) { glXSwapBuffers(_display, _xWindow); }
|
||||||
void SwapBuffers(void) { glXSwapBuffers(_display, _xWindow); }
|
|
||||||
|
|
||||||
float GetElapsedSeconds(void);
|
float GetElapsedSeconds(void);
|
||||||
|
|
||||||
@ -39,17 +38,17 @@ private:
|
|||||||
|
|
||||||
unsigned int _lastTime;
|
unsigned int _lastTime;
|
||||||
|
|
||||||
Display* _display;
|
Display* _display;
|
||||||
Window _xWindow;
|
Window _xWindow;
|
||||||
GLXContext _glContext;
|
GLXContext _glContext;
|
||||||
XF86VidModeModeInfo _XF86DeskMode;
|
XF86VidModeModeInfo _XF86DeskMode;
|
||||||
XSetWindowAttributes _XSetAttr;
|
XSetWindowAttributes _XSetAttr;
|
||||||
int _screenID;
|
int _screenID;
|
||||||
|
|
||||||
bool _isFullscreen;
|
bool _isFullscreen;
|
||||||
unsigned int _width;
|
unsigned int _width;
|
||||||
unsigned int _height;
|
unsigned int _height;
|
||||||
unsigned int _bpp;
|
unsigned int _bpp;
|
||||||
|
|
||||||
bool _GL3Supported;
|
bool _GL3Supported;
|
||||||
// I think that's about all I need for now.. FOR NOW!!!
|
// I think that's about all I need for now.. FOR NOW!!!
|
||||||
|
Loading…
Reference in New Issue
Block a user