From d557c1ae30d30b1e3b1be4cc980b3ffb84700892 Mon Sep 17 00:00:00 2001 From: Rtch90 Date: Sat, 7 Apr 2012 01:13:36 +0100 Subject: [PATCH] [Clean] Fixing some more tab formatting. --- src/Main/LGLXWindow.h | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/src/Main/LGLXWindow.h b/src/Main/LGLXWindow.h index 5d41b21..4efdc1c 100644 --- a/src/Main/LGLXWindow.h +++ b/src/Main/LGLXWindow.h @@ -1,6 +1,6 @@ #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 #include "../glx/glxext.h" @@ -21,11 +21,10 @@ public: bool Create(int width, int hight, int bpp, bool fullscreen); void Destroy(void); void ProcessEvents(void); - void AttachGame(Game* game) { _game = game; } + void AttachGame(Game* game) { _game = game; } - bool IsRunning(void) { return _isRunning; } - - void SwapBuffers(void) { glXSwapBuffers(_display, _xWindow); } + bool IsRunning(void) { return _isRunning; } + void SwapBuffers(void) { glXSwapBuffers(_display, _xWindow); } float GetElapsedSeconds(void); @@ -39,17 +38,17 @@ private: unsigned int _lastTime; - Display* _display; - Window _xWindow; - GLXContext _glContext; - XF86VidModeModeInfo _XF86DeskMode; - XSetWindowAttributes _XSetAttr; - int _screenID; + Display* _display; + Window _xWindow; + GLXContext _glContext; + XF86VidModeModeInfo _XF86DeskMode; + XSetWindowAttributes _XSetAttr; + int _screenID; - bool _isFullscreen; - unsigned int _width; - unsigned int _height; - unsigned int _bpp; + bool _isFullscreen; + unsigned int _width; + unsigned int _height; + unsigned int _bpp; bool _GL3Supported; // I think that's about all I need for now.. FOR NOW!!!