same program for offscreen configuration and direct rendering configuration

Ns Ns <[email protected]>
Newsgroups gmane.comp.video.mesa3d.user
Message-ID <[email protected]>
Hello,

I am trying to develop a program on Linux that will be used in two different 
configurations:
    Configuration 1:  with a X server and a graphic card
    Configuration 2: without X server and without graphic card.
The both configuration are on RedHat 5.5 with the packages mesa-libGL and 
Mesa-libOSMesa

The program will generate an image of a model into a buffer, so for the 2nd 
configuration I will use offscreenMesa.
For the configuration 1, I should link with libGL.so 
For the configuration I should link with libOSMesa.so

But I want that the same executable could be used for the two configurations?
How can I do such a thing?

Thank you for your answers,
Regards.

_______________________________________________
mesa-users mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.