<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:sonichedgehog_hyperblast00@yahoo.com" title="MirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>"> <span class="fn">MirceaKitsune</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO - Distant geometry renders in front of closer geometry (depth test fail) in DarkRadiant / wxWidgets"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=92286">bug 92286</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>NEW
           </td>
           <td>NEEDINFO
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO - Distant geometry renders in front of closer geometry (depth test fail) in DarkRadiant / wxWidgets"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=92286#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO - Distant geometry renders in front of closer geometry (depth test fail) in DarkRadiant / wxWidgets"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=92286">bug 92286</a>
              from <span class="vcard"><a class="email" href="mailto:sonichedgehog_hyperblast00@yahoo.com" title="MirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>"> <span class="fn">MirceaKitsune</span></a>
</span></b>
        <pre>The cause of the issue has been at last found, thanks to a suggestion by
OrbWeaver. It was triggered by initializing the WX OpenGL canvas without any
attributes, which caused Mesa to assume no depth buffer at all. I have created
a patch for DarkRadiant which makes it usable.

I guess the question of this bug report remains whether Mesa is doing something
wrong here. On the proprietary video drivers, it's ok to leave the attribs
parameter of wxGLCanvas empty... but for depth buffering to work on Mesa, you
must include WX_GL_DEPTH_SIZE and give it a buffer size.

So if anyone here is familiar with wxWidgets, please take a look at this. If
you think Mesa is doing the right thing, this report can be closed. I don't
know enough to decide that, but to me it feels like depth testing being the
only thing that doesn't work in this scenario denotes a problem.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>