mirror of
https://github.com/glest/glest-source.git
synced 2025-09-26 15:39:21 +02:00
- 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:
@@ -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() {
|
||||
|
Reference in New Issue
Block a user