<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - Divinity: Original Sin Enhanced Edition(Native) crash on start"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=93551#c33">Comment # 33</a>
              on <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - Divinity: Original Sin Enhanced Edition(Native) crash on start"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=93551">bug 93551</a>
              from <span class="vcard"><a class="email" href="mailto:stilriv@gmail.com" title="Mikhail Korolev <stilriv@gmail.com>"> <span class="fn">Mikhail Korolev</span></a>
</span></b>
        <pre>Created <span class=""><a href="attachment.cgi?id=125311" name="attach_125311" title="divos-hack.patch">attachment 125311</a> <a href="attachment.cgi?id=125311&action=edit" title="divos-hack.patch">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=93551&attachment=125311'>[review]</a>
divos-hack.patch

(In reply to Thomas J. Moore from <a href="show_bug.cgi?id=93551#c32">comment #32</a>)
<span class="quote">> Created <span class=""><a href="attachment.cgi?id=125302" name="attach_125302" title="Simple LD_PRELOAD shim to apply necessary patches for divos">attachment 125302</a> <a href="attachment.cgi?id=125302&action=edit" title="Simple LD_PRELOAD shim to apply necessary patches for divos">[details]</a></span>
> Simple LD_PRELOAD shim to apply necessary patches for divos

> Game works great for me with the above patches (thanks to those who figured
> this out!).  However, since they are not likely to be incorporated into
> Mesa, and patching my system Mesa just for one poorly written game is a bad
> idea, I think one of two alternate solutions needs to be provided.  My
> preference would be to patch the game binaries.  I don't really want to mess
> with that right now, though (especially since I can't easily locate where it
> does the vendor check).  The other would be to provide the patches in the
> form of an LD_PRELOAD shim.  I have attached the source code for one that
> seems to work for me.</span >

Your code calls dlsym at every call of glGetString/glXGetProcAddressARB instead
of call it only at startup. Fix in attachments.</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>