[Q] Executing SDL with OpenGL func

Hi, I compiled test programs tagging along with SDL 1.2. Executing testgl,
I got the following message : Xlib: extension “GLX” missing on display
":0.0". Xlib: extension “GLX” missing on display “:0.0”. Couldn’t set GL
mode: Couldn’t find matching GLX visual I thought I missed ‘glx’ extension
module and added ‘glx’ module in /etc/XF86Config : — the Content of
XF86Config --------------------------------- Section “Files” ModulePath
"/usr/X11R6/lib/modules" ModulePath "/usr/X11R6/lib/modules/extensions"
RgbPath “/usr/X11R6/lib/X11/rgb” FontPath "/usr/X11R6/lib/X11/fonts/local"
EndSection Section “Module” Load “dbe” # Double buffer extension
SubSection “extmod” Option “omit xfree86-dga” EndSubSection Load "dri"
Load “GLcore” Load “glx” # GLX EndSection
------------------------------------------------------------------ I got
the error message like ‘Unknown Error Loading dbe,dri,GLcore,glx’. I’m
sure I set the proper module path because I got an path-error message
before I set the above ModulePath lines I doubt my platform - probabily
video card - does not support SDL with OpenGL functionality. I ran SDL
test programs on XFree86 4.0, FreeBSD 4.5 and my video card is NVidea Riva
TNT2 Model 64. I’ve been coding my app with SDL-OpenGL on Windows98.
Thanks in advance.----------------------------------------------------------------------

  • A,AAA* A?A<<A.A®AA 5A,AA?A! AAA 1/2 AA?A!A?A?? AAAA 1/4 AA?AAo
  • A,A?AuA? A,AAAAA>> AAA1A|A?A! A?AA>>A?AAA’A! AAAA 1/4 AA?
    AA<<AAA,AAA A?A*A>>A?.