Note
directx.c
-----------
gdi32.dll to opengl32.dll
comment out line 186 as well in function
WineD3D_ReleaseFakeGLContext 
row pwglDeleteContext(glCtx);



wined3d_private.h
------------------
add #define  ceilf(x) (float)ceil((double)x)