diff options
author | Brian Paul <[email protected]> | 2000-01-27 16:53:55 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2000-01-27 16:53:55 +0000 |
commit | e06c7f32cfe0ee9de5444e2597c80c39f33ed1f1 (patch) | |
tree | aa5a411fe6c27401995cebae07e78b5186a01c87 /progs/xdemos | |
parent | 262f9e52d6a511fffd1e6746de9d83d89cca9e1a (diff) |
minor changes regarding transparency and multisample
Diffstat (limited to 'progs/xdemos')
-rw-r--r-- | progs/xdemos/glxinfo.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/progs/xdemos/glxinfo.c b/progs/xdemos/glxinfo.c index b7b4fafa17f..d4caf9478a5 100644 --- a/progs/xdemos/glxinfo.c +++ b/progs/xdemos/glxinfo.c @@ -1,4 +1,4 @@ -/* $Id: glxinfo.c,v 1.2 2000/01/27 16:43:56 brianp Exp $ */ +/* $Id: glxinfo.c,v 1.3 2000/01/27 16:53:55 brianp Exp $ */ /* * Copyright (C) 1999 Brian Paul All Rights Reserved. @@ -264,7 +264,6 @@ get_visual_attribs(Display *dpy, XVisualInfo *vInfo, attribs->colormapSize = vInfo->colormap_size; attribs->bitsPerRGB = vInfo->bits_per_rgb; - attribs->transparent = 0; glXGetConfig(dpy, vInfo, GLX_USE_GL, &attribs->supportsGL); glXGetConfig(dpy, vInfo, GLX_BUFFER_SIZE, &attribs->bufferSize); glXGetConfig(dpy, vInfo, GLX_LEVEL, &attribs->level); @@ -283,6 +282,10 @@ get_visual_attribs(Display *dpy, XVisualInfo *vInfo, glXGetConfig(dpy, vInfo, GLX_ACCUM_BLUE_SIZE, &attribs->accumBlueSize); glXGetConfig(dpy, vInfo, GLX_ACCUM_ALPHA_SIZE, &attribs->accumAlphaSize); + /* transparent pixel value not implemented yet */ + attribs->transparent = 0; + + /* multisample tests not implemented yet */ attribs->numSamples = 0; attribs->numMultisample = 0; } |