Bug 351871 - glxinfo does not report multisample capable visuals correctly
Summary: glxinfo does not report multisample capable visuals correctly
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: mesa
Version: 7
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Adam Jackson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-10-25 07:40 UTC by Scott A. Friedman
Modified: 2008-01-22 19:57 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2008-01-22 19:57:49 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Scott A. Friedman 2007-10-25 07:40:31 UTC
Description of problem:
glxinfo does not report multisample capable visuals because of a logic error in
the code.

Version-Release number of selected component (if applicable):
MesaDemos-6.5.2

How reproducible:
Just use glxinfo with a video card that supports multisampling (nvidia)

Steps to Reproduce:
1. glxinfo
2.
3.
  
Actual results:
always shows number of samples and number of buffers as zero

Expected results:
should show the correct values

Additional info:
Basically, the following line in the code:

   if (ext && strstr(ext, "GLX_ARB_multisample") ) == 0) {

might be changed to:

   if (ext && strstr(ext, "GLX_ARB_multisample") ) {

The code is checking for the opposite of what is desired.


Basically,

Comment 1 Adam Jackson 2008-01-22 19:57:49 UTC
Fixed in upstream, will get pulled magically into F9.  Thanks!


Note You need to log in before you can comment on or make changes to this bug.