- added ability to check if compiler supports SSE and if not fallback to X87 for streflop.

- added ability for clients to specify gamma override value for drivers which support it
This commit is contained in:
Mark Vejvoda
2011-12-23 08:20:54 +00:00
parent f38c8c9f63
commit 2e94c32d59
14 changed files with 103 additions and 22 deletions

View File

@@ -25,7 +25,7 @@ Context::Context() {
stencilBits= 0;
hardware_acceleration=0;
fullscreen_anti_aliasing=0;
gammaValue=0;
}
}}//end namespace

View File

@@ -32,7 +32,10 @@ ContextGl::ContextGl() : Context() {
}
void ContextGl::init() {
pcgl.init(colorBits, depthBits, stencilBits, (hardware_acceleration != 0), (fullscreen_anti_aliasing != 0));
pcgl.init(colorBits, depthBits, stencilBits,
(hardware_acceleration != 0), (fullscreen_anti_aliasing != 0),
gammaValue);
}
ContextGl::~ContextGl() {