mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-16 09:04:38 +00:00
Replace obsolete calling convention
This commit is contained in:
parent
dc780ddcae
commit
a3f4adacc3
2 changed files with 3 additions and 3 deletions
|
|
@ -49,7 +49,7 @@ bool getDllName(std::wstring& dllName, const std::wstring suffix)
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
int PASCAL WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpszCmdLine, int nCommandShow)
|
int WINAPI WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpszCmdLine, int nCommandShow)
|
||||||
{
|
{
|
||||||
// Try to find the game DLL, which may have one of several file names.
|
// Try to find the game DLL, which may have one of several file names.
|
||||||
HMODULE hGame = NULL;
|
HMODULE hGame = NULL;
|
||||||
|
|
|
||||||
|
|
@ -313,7 +313,7 @@ S32 main(S32 argc, const char **argv)
|
||||||
|
|
||||||
#include "app/mainLoop.h"
|
#include "app/mainLoop.h"
|
||||||
|
|
||||||
S32 PASCAL WinMain( HINSTANCE hInstance, HINSTANCE, LPSTR lpszCmdLine, S32)
|
S32 WINAPI WinMain( HINSTANCE hInstance, HINSTANCE, LPSTR lpszCmdLine, S32)
|
||||||
{
|
{
|
||||||
Vector<char *> argv( __FILE__, __LINE__ );
|
Vector<char *> argv( __FILE__, __LINE__ );
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue