Minimal flags for GlGtk.area
Jon Harrop <[email protected]> Sun, 12 Jul 2009 06:16:28 +0100
| Newsgroups | gmane.comp.lang.ocaml.lib.gtk |
|---|---|
| Organization | Flying Frog Consultancy Ltd. |
| Message-ID | <[email protected]> |
I'm just trying to run some old LaglGTKGl code that uses: GlGtk.area [ `RGBA; `DOUBLEBUFFER ] on my new Linux box and I get: $ ./main Xlib: extension "RANDR" missing on display ":1.0". The program 'main' received an X Window System error. This probably reflects a bug in the program. The error was 'BadMatch (invalid parameter attributes)'. (Details: serial 152 error_code 8 request_code 148 minor_code 5) (Note to programmers: normally, X errors are reported asynchronously; that is, you will receive the error a while after causing it. To debug your program, run it with the --sync command line option to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdk_x_error() function.) I had hoped that removing all the flags would leave me with minimal options that should work but this just seems to hit a bug in LablGTKGL: $ ./main Xlib: extension "RANDR" missing on display ":1.0". Fatal error: exception Gpointer.Null Does anyone have any ideas what options might work? Programs like glxgears work fine, BTW. -- Dr Jon Harrop, Flying Frog Consultancy Ltd. http://www.ffconsultancy.com/?e