Package: xnest
Version: 4.3.0.dfsg.1-4
Severity: important

Running the following program fails under Xnest.  It works fine on the parent
server, and xdpyinfo shows that the two have identical visuals.

#include <GL/glx.h>
#include <X11/Xlib.h>
#include <assert.h>

int
main()
{

  Display *dpy;
  int screen;
  XVisualInfo *vis=0;

  int attribs[]={GLX_RGBA,
                         
                 GLX_RED_SIZE,   1,
                 GLX_GREEN_SIZE, 1,
                 GLX_BLUE_SIZE,  1,

                 None
   };


                                                                                
     dpy = XOpenDisplay(0);

                                                                                
       screen = DefaultScreen(dpy);

                                                                                
 vis = glXChooseVisual(dpy,screen,attribs);

                                                                                
   assert(vis);

                                                                                
     return 0;

                                                                                
     }

-- System Information
Debian Release: testing/unstable
Kernel Version: Linux marilyn 2.4.26-1-686 #1 Sat May 1 18:04:05 EST 2004 i686 
GNU/Linux

Versions of the packages xnest depends on:
ii  libc6          2.3.2.ds1-13   GNU C Library: Shared libraries and Timezone
ii  libfreetype6   2.1.7-2.1      FreeType 2 font engine, shared library files
ii  libxext6       4.3.0.dfsg.1-4 X Window System miscellaneous extension libr
ii  xlibs          4.3.0.dfsg.1-4 X Window System client libraries metapackage
ii  xserver-common 4.3.0.dfsg.1-4 files and utilities common to all X servers
ii  zlib1g         1.2.1.1-3      compression library - runtime

Reply via email to