mirror of
https://github.com/glest/glest-source.git
synced 2025-09-25 15:09:03 +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:
@@ -25,7 +25,7 @@ Context::Context() {
|
||||
stencilBits= 0;
|
||||
hardware_acceleration=0;
|
||||
fullscreen_anti_aliasing=0;
|
||||
|
||||
gammaValue=0;
|
||||
}
|
||||
|
||||
}}//end namespace
|
||||
|
@@ -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