hi,
I just tested the setGammaRamp function...
it works, but when I close the app the gamma doesn't reset to normal !!!
OS: WindowsXP pro (sp2)
setGammaRamp
setGammaRamp
while(!asleep) sheep++;
IrrExtensions:
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
IrrExtensions:
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
I used this short code snippet:after running my desktop remains bright !!!
I'll have to run it again with device->setGammaRamp(1,1,1, 0,0); to get my desktop gamma back...
also with OpenGL driver...
Code: Select all
#include <irrlicht.h>
using namespace irr;
int main(){
IrrlichtDevice *device = createDevice(video::EDT_DIRECT3D9);
device->setGammaRamp(2,2,2, 0,0);
device->drop();
return 0;
}
I'll have to run it again with device->setGammaRamp(1,1,1, 0,0); to get my desktop gamma back...
also with OpenGL driver...
while(!asleep) sheep++;
IrrExtensions:
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
IrrExtensions:
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java