thanks for the answer. I search in that direction and found that :
when creating the display lists, I use the DC given by getNormalDC() (in wglUseFontBitmaps(getNormalDC()…)).
But when rendering, i’m using another DC.
Can this cause the display lists to render nothing ?
Display lists aren’t shared between two contexts but if you specify the context to be shared to the new context at the new context creation.
Under linux, it’s when using this style of function:
It seems that my rendering contexts are not updated correctly. I’m using SoWinViewer objects (Open Inventor widgets). The getNormalContext is supposed to give me the current context but i have to check that it’s compatible with wglCurrentContext :
I remembered that wglShareList was discussed on a topic about some months ago. Try to make a research because I cannot help you more. But maybe others will.