[Mesa-dev] [Bug 65423] New: Remove gl_config::haveDepthBuffer, haveAccumBuffer, haveStencilBuffer fields

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jun 5 08:31:27 PDT 2013


https://bugs.freedesktop.org/show_bug.cgi?id=65423

          Priority: medium
            Bug ID: 65423
          Assignee: mesa-dev at lists.freedesktop.org
           Summary: Remove gl_config::haveDepthBuffer, haveAccumBuffer,
                    haveStencilBuffer fields
          Severity: trivial
    Classification: Unclassified
                OS: All
          Reporter: brianp at vmware.com
          Hardware: Other
            Status: NEW
           Version: git
         Component: Mesa core
           Product: Mesa

Another simple clean-up task:

These boolean fields are redundant.  Instead of code checking "if
(visual->haveDepthBuffer)" we can simply do "if (visual->depthBits > 0)".

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20130605/7d29008f/attachment.html>


More information about the mesa-dev mailing list