PDA

View Full Version : wglUseFontOutlines in Vista Slow.....



Boris008
06-29-2007, 09:19 AM
The following code is very slow in Vista on a GeForce 8600 GTS:


if (!success ||
FALSE == wglUseFontOutlines(
pDC->m_hDC,
0,
255,
listbase,
0.0,
0.0,
WGL_FONT_POLYGONS,
gmf)) {
glDeleteLists(listbase, 256);
listbase = 0;
} Anyone experience a similar problem or see a problem with the above code? BTW, runs fine in XP

Thanks,

Boris

Tin Whisker
07-29-2007, 05:49 PM
I've no idea why it would be slower in Vista, but perhaps you could grab the geometry from a prepossessing step and save it to disk, thereby nipping the run-time problem in the bud.