<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED NOTABUG - eglQueryDevicesEXT returns 0 devices"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=103575#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED NOTABUG - eglQueryDevicesEXT returns 0 devices"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=103575">bug 103575</a>
              from <span class="vcard"><a class="email" href="mailto:ajax@nwnk.net" title="Adam Jackson <ajax@nwnk.net>"> <span class="fn">Adam Jackson</span></a>
</span></b>
        <pre>(In reply to Hi-Angel from <a href="show_bug.cgi?id=103575#c2">comment #2</a>)
<span class="quote">> (In reply to Adam Jackson from <a href="show_bug.cgi?id=103575#c1">comment #1</a>)
> > Mesa doesn't implement EGL_EXT_device_enumeration yet, so this isn't
> > entirely surprising.

> Then, shouldn't I be getting either linking or calling errors?</span >

If your libEGL is from libglvnd then no. glvnd has explicit support for
QueryDevicesEXT because it has to aggregate the results from all installed
vendor libraries. Which means eglGetProcAddress will return the glvnd frontend
function, even if no vendors support the extension.

That's arguably a bug in glvnd. It should at minimum return an error if it
enumerates zero devices, I think. But I think your code is already in error in
calling eglQueryDevicesEXT without checking that EGL_EXT_device_enumeration is
in the client extension string (it certainly isn't on my machine, which does
use libglvnd).</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>