<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Graphical glitch in Astromenace (open-source game)."
   href="https://bugs.freedesktop.org/show_bug.cgi?id=91993#c16">Comment # 16</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Graphical glitch in Astromenace (open-source game)."
   href="https://bugs.freedesktop.org/show_bug.cgi?id=91993">bug 91993</a>
              from <span class="vcard"><a class="email" href="mailto:nhaehnle@gmail.com" title="Nicolai Hähnle <nhaehnle@gmail.com>"> <span class="fn">Nicolai Hähnle</span></a>
</span></b>
        <pre>The bug is caused by the combination of a (technically correct, but
unintentional) off-by-one problem in AstroMenace with a bug in the Mesa state
tracker.

(Old versions of) AstroMenace use glTexStorage2D to create a texture with an
incomplete mipmap pyramid (the 1x1 level is missing). This pyramid is not
honored by the state tracker's implementation of glGenerateMipmap, which
results in various broken textures.

Current versions of AstroMenace no longer have the off-by-one problem, which is
why Marek could not reproduce the bug.

I'm working on a Piglit test and Mesa patch to fix the bug on our side.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>