Made mouse cursor not flicker
This commit is contained in:
5
main.cpp
5
main.cpp
@@ -999,6 +999,11 @@ void Demo::onGraphics(RenderDevice* rd) {
|
||||
}
|
||||
}
|
||||
|
||||
if(Globals::useMousePoint)
|
||||
{
|
||||
mousepos = Globals::mousepoint;
|
||||
ScreenToClient(hWndMain, &mousepos);
|
||||
}
|
||||
|
||||
LightingParameters lighting(G3D::toSeconds(11, 00, 00, AM));
|
||||
renderDevice->setProjectionAndCameraMatrix(*cameraController.getCamera());
|
||||
|
||||
Reference in New Issue
Block a user