[SDL] SVGALib 2.0
Mattias Engdegård
f91-men at nada.kth.se
Fri Jun 15 14:43:03 PDT 2001
(please don't send patches base64-encoded - keep them in ascii in the mail
body)
>Looking at
>the earlier versions of SVGALib (including the latest stable one), I found
>out that SVGALIB_VER wasn't defined until the 1.9.x series. That's all this
>patch does, so it isn't much of an improvement to the old one.
why not just do (pseudocode)
if(geteuid() == 0 || open(/dev/svga, O_RDWR) == 0) then yes, else no
? Because that's basically what you want to know
More information about the SDL
mailing list