Thanks! Found Code: /* As GLX relies on X, this is needed */ void enter_gl(void); #define ENTER_GL() enter_gl() #define LEAVE_GL() wine_tsx11_unlock_ptr() changed into: Code: /* As GLX relies on X, this is needed */ void enter_gl(void); #define ENTER_GL() #define LEAVE_GL() And compiled... Now?