There have been complaints recently on the forum that dbCircle, dbEllipse, dbDot commands do not work on Vista+nVidia configurations. I made a simple code to reproduce the problem.
#include "DarkGDK.h"
void DarkGDK ( void )
{
dbLine(100,100,180,200);
dbBox(200,250,270,270);
dbCircle(300,300,80);
dbEllipse(400,400,60,80);
dbDot(400,400);
dbWaitKey();
}
If I run this on my machine, the line and the box stay permanently on the screen, but the circle, ellipse and dot "blink up" for a split second, then disappear.
If I try to solve the issue by manual Sync:
void DarkGDK ( void )
{
dbSyncOn();
dbSync();
dbLine(100,100,180,200);
dbBox(200,250,270,270);
dbCircle(300,300,80);
dbEllipse(400,400,60,80);
dbDot(400,400);
dbSync();
dbWaitKey();
}
Then the circle, ellipse and dot stay on the screen as long as I don't move the window, but as soon as the window is dragged, they disappear. The line and the box stay visible.
Dark GDK 7.3 version. Vista Home Premium (32 bit), nVidia GeForce 9700M GT card (laptop). The driver is from August 2008.
Please see also this thread:
http://forum.thegamecreators.com/?m=forum_view&t=157918&b=22