// Kill the thread and clean up
this->joined = 1;
this->running = 0;
+#ifndef WIN32
if ( this->thread )
+#endif
pthread_join( this->thread, NULL );
// internal cleanup
// Get the wm structure
if ( SDL_GetWMInfo( &wm ) == 1 )
{
+#ifndef WIN32
// Check that we have the X11 wm
if ( wm.subsystem == SDL_SYSWM_X11 )
{
*width = attr.width;
*height = attr.height;
}
+#endif
}
#endif