문제

How are the windows created in linux when working on graphics using allegro library? does it uses X11 or its own primitive library?

도움이 되었습니까?

해결책

In order to draw anything on X11 server display, one have to use X11 protocol. There is just no reason to do it in any other way then using xlib one way or another.

http://alleg.sourceforge.net/stabledocs/en/build/unix.html

Short version: whenever X available, xlib is used. If none present, it will try SVGA directly on console.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top