<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Skydrift (running in Wine) crashes on start"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=91118#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Skydrift (running in Wine) crashes on start"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=91118">bug 91118</a>
              from <span class="vcard"><a class="email" href="mailto:gyebro69@gmail.com" title="Béla Gyebrószki <gyebro69@gmail.com>"> <span class="fn">Béla Gyebrószki</span></a>
</span></b>
        <pre>The following patch by Ilia Mirkin also fixes the crash for me:

diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c
index 79fa018..f7d8028 100644
--- a/src/mesa/main/context.c
+++ b/src/mesa/main/context.c
@@ -1638,6 +1638,8 @@ handle_first_current(struct gl_context *ctx)
       }
    }

+   _mesa_update_state(ctx);
+
    /* We can use this to help debug user's problems.  Tell them to set
     * the MESA_INFO env variable before running their app.  Then the
     * first time each context is made current we'll print some useful

The 2 different patches equally fix the crash for me in those 2 games.</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>