Alexander Dorofeyev : wined3d: Add ENTER_GL/ LEAVE_GL in IWineD3DDeviceImpl_ResourceReleased.