hi..
i can't speak english well please understand me.
I've changed resolution from 1280 * 1024 to 1024 * 768
then irrlicht looks like losing its hwnd.
there was just a clear window in the screen.
isn't there any method to solve this problem?
void ResolutionChange(int Width,int Height) {
DEVMODE dev;
memset(&dev,0,sizeof(DEVMODE));
dev.dmSize=sizeof(DEVMODE);
dev.dmFields = DM_PELSWIDTH | DM_PELSHEIGHT;
dev.dmPelsWidth = Width;
dev.dmPelsHeight = Height;
ChangeDisplaySettings(&dev, UPDATEREGISTRY);
}
//maincode
// 1280 * 1240
ResolutionChange(1024, 768)
// change 1024 * 768
// irrlicht clear window(transparent window)
help me please
help me. resolution change
-
bgsteffens
- Posts: 39
- Joined: Wed Oct 04, 2006 8:00 am
-
bgsteffens
- Posts: 39
- Joined: Wed Oct 04, 2006 8:00 am