Disabled streflop

This commit is contained in:
mathusummut
2018-09-25 20:24:38 +02:00
parent 3819da6d0b
commit c04e75e19c
21 changed files with 31 additions and 83 deletions

View File

@@ -64,7 +64,7 @@ namespace Shared {
virtual ~PlatformContextGl();
virtual void init(int colorBits, int depthBits, int stencilBits,
bool hardware_acceleration, bool fullscreen_anti_aliasing,
bool hardware_acceleration, int8 fullscreen_anti_aliasing,
float gammaValue);
virtual void end();

View File

@@ -160,7 +160,7 @@ namespace Shared {
static bool isKeyDown() {
return isKeyPressedDown;
}
static void setupGraphicsScreen(int depthBits = -1, int stencilBits = -1, bool hardware_acceleration = false, bool fullscreen_anti_aliasing = false);
static void setupGraphicsScreen(int depthBits = -1, int stencilBits = -1, bool hardware_acceleration = false, int8 fullscreen_anti_aliasing = 0);
static const bool getIsFullScreen() {
return isFullScreen;
}
@@ -184,7 +184,7 @@ namespace Shared {
virtual bool ChangeVideoMode(bool preserveContext, int resWidth, int resHeight,
bool fullscreenWindow, int colorBits, int depthBits, int stencilBits,
bool hardware_acceleration, bool fullscreen_anti_aliasing,
bool hardware_acceleration, int8 fullscreen_anti_aliasing,
float gammaValue) = 0;
//static void setMasterserverMode(bool value) { Window::masterserverMode = value;}
//static bool getMasterserverMode() { return Window::masterserverMode;}

View File

@@ -36,7 +36,7 @@ namespace Shared {
virtual ~WindowGl();
void initGl(int colorBits, int depthBits, int stencilBits,
bool hardware_acceleration, bool fullscreen_anti_aliasing,
bool hardware_acceleration, int8 fullscreen_anti_aliasing,
float gammaValue);
void makeCurrentGl();
void swapBuffersGl();
@@ -55,7 +55,7 @@ namespace Shared {
virtual bool ChangeVideoMode(bool preserveContext, int resWidth, int resHeight,
bool fullscreenWindow, int colorBits, int depthBits, int stencilBits,
bool hardware_acceleration, bool fullscreen_anti_aliasing,
bool hardware_acceleration, int8 fullscreen_anti_aliasing,
float gammaValue);
protected: