Modified files for SDL2.

This commit is contained in:
LuisAntonRebollo 2015-01-18 22:52:29 +01:00
parent 33a0579735
commit 475f218bcd
33 changed files with 436 additions and 136 deletions

View file

@ -153,6 +153,8 @@ DefineConsoleFunction( shellExecute, bool, (const char * executable, const char
return true;
}
#ifndef TORQUE_SDL
void Platform::openFolder(const char* path )
{
char filePath[1024];
@ -187,3 +189,5 @@ void Platform::openFile(const char* path )
::ShellExecute( NULL,TEXT("open"),p, NULL, NULL, SW_SHOWNORMAL);
}
#endif // !TORQUE_SDL