<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Cemu wiiu emulator crashes after selecting game on radeonsi"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=100393#c4">Comment # 4</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Cemu wiiu emulator crashes after selecting game on radeonsi"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=100393">bug 100393</a>
              from <span class="vcard"><a class="email" href="mailto:imirkin@alum.mit.edu" title="Ilia Mirkin <imirkin@alum.mit.edu>"> <span class="fn">Ilia Mirkin</span></a>
</span></b>
        <pre>(In reply to Giovanni ongaro from <a href="show_bug.cgi?id=100393#c3">comment #3</a>)
<span class="quote">> sorry but in fact this error is displayed
> Mesa: User error: GL_INVALID_ENUM in glEnable(GL_PRIMITIVE_RESTART)

> and then sound plays</span >

The issue is "cemu was developed against a specific GL implementation, and
doesn't work with other perfectly conformant GL implementations".

In this case, you're getting a GL 3.0 compat context. It tries to enable
GL_PRIMITIVE_RESTART, which was not available in GL 3.0. With
NV_primitive_restart, which is most likely exposed, one needs to use
GL_PRIMITIVE_RESTART_NV, which conveniently is a different value.

As I mentioned, you can try the COMPAT tail to the version override so you get
a compat context, but lots of stuff won't work - there are good reasons why
mesa doesn't expose high-versioned compat contexts.</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>