~ubuntu-branches/debian/sid/xscreensaver/sid

« back to all changes in this revision

Viewing changes to driver/xdpyinfo.c

  • Committer: Bazaar Package Importer
  • Author(s): Tormod Volden
  • Date: 2011-04-22 23:07:13 UTC
  • mfrom: (1.1.9 upstream)
  • Revision ID: james.westby@ubuntu.com-20110422230713-wcixfinu45mm7vsx
Tags: 5.13-1
* New upstream version 5.13
  - Passwords that contain UTF-8 non-Latin1 chars are now typeable
  - pt_BR translation (thanks Sérgio Cipolla!) (Closes: #586230)
  - Fix memory leak in gltext (LP: #768032)
* Build without gdm and libgnome2-dev (Closes: #618165)
* Add Suggests on gdm3 or kdm-gdmcompat because gdmflexiserver
  can be used for the "New Login" functionality (see bug #304406)
* Remove obsolete gdmflexiserver options
* xscreensaver.desktop changes:
  - Do not set StartupNotify.
  - Do not specify svg icon. Closes: #618723 (LP: #603222)
* Fix installation path for xscreensaver-daemon.desktop 
* debian/xscreensaver.preinst: Check version before
  deleting obsolete configuration files (Closes: #588288)
* Bump Standards-Version to 3.9.2 (no changes needed)

Show diffs side-by-side

added added

removed removed

Lines of Context:
191
191
      value != 0)
192
192
    printf ("    GLX stencil size:  %d\n", value);
193
193
 
194
 
# ifdef GLX_SAMPLE_BUFFERS_SGIS
195
 
  if (!glXGetConfig (dpy, vip, GLX_SAMPLE_BUFFERS_SGIS, &value) &&
196
 
      value != 0)
 
194
# if defined(GL_SAMPLE_BUFFERS)
 
195
#  define SB GL_SAMPLE_BUFFERS
 
196
#  define SM GL_SAMPLES
 
197
# elif defined(GLX_SAMPLE_BUFFERS)
 
198
#  define SB GLX_SAMPLE_BUFFERS
 
199
#  define SM GLX_SAMPLES
 
200
# elif defined(GLX_SAMPLE_BUFFERS_ARB)
 
201
#  define SB GLX_SAMPLE_BUFFERS_ARB
 
202
#  define SM GLX_SAMPLES_ARB
 
203
# elif defined(GLX_SAMPLE_BUFFERS_SGIS)
 
204
#  define SB GLX_SAMPLE_BUFFERS_SGIS
 
205
#  define SM GLX_SAMPLES_SGIS
 
206
# endif
 
207
 
 
208
# ifdef SB
 
209
  if (!glXGetConfig (dpy, vip, SB, &value) && value != 0)
197
210
    {
198
211
      int bufs = value;
199
 
      if (!glXGetConfig (dpy, vip, GLX_SAMPLES_SGIS, &value))
200
 
        printf ("    GLX multisamplers: %d (%d)\n", bufs, value);
 
212
      if (!glXGetConfig (dpy, vip, SM, &value))
 
213
        printf ("    GLX multisample:   %d, %d\n", bufs, value);
201
214
    }
202
 
# endif
 
215
# endif /* SB */
203
216
 
204
217
  if (!glXGetConfig (dpy, vip, GLX_TRANSPARENT_TYPE_EXT, &value) &&
205
218
      value != GLX_NONE_EXT)