XdrawString+double buffer

Brian Paul brian.paul at tungstengraphics.com
Tue Aug 1 08:54:49 PDT 2006


dragoran wrote:
> Brian Paul wrote:
> 
>> dragoran wrote:
>>
>>> dragoran wrote:
>>>
>> [...]
>>
>>>> will try the glWindowPos stuff now... (and tell you if it worked)
>>>> _______________________________________________
>>>> xorg mailing list
>>>> xorg at lists.freedesktop.org
>>>> http://lists.freedesktop.org/mailman/listinfo/xorg
>>>>
>>>>
>>> use glWindowPos and glDrawPixels works in anything but ut2004
>>> using glWindowPos + glBitmap does not work at all (nothing gots drawn)
>>
>>
>> My only guess is there's some other bit of GL state in effect that's 
>> preventing the rendering from appearing.  Maybe a vertex or fragment 
>> program, or texture...
>>
> if one of this is the case, is there any way to force the drawing to 
> happen?

I think you're on the right track with your current code where you 
save/reset/restore other GL state, like GL_DEPTH_TEST.  You probably 
just need more of that.

-Brian




More information about the xorg mailing list