mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-26 20:31:30 +00:00
Add support for new HWR functions in win32 and sdl12
This commit is contained in:
parent
869c4241eb
commit
be1565fce3
2 changed files with 6 additions and 0 deletions
|
@ -105,6 +105,8 @@ void *hwSym(const char *funcName,void *handle)
|
||||||
GETFUNC(DoScreenWipe);
|
GETFUNC(DoScreenWipe);
|
||||||
GETFUNC(DrawIntermissionBG);
|
GETFUNC(DrawIntermissionBG);
|
||||||
GETFUNC(MakeScreenTexture);
|
GETFUNC(MakeScreenTexture);
|
||||||
|
GETFUNC(MakeScreenFinalTexture);
|
||||||
|
GETFUNC(DrawScreenFinalTexture);
|
||||||
#else //HWRENDER
|
#else //HWRENDER
|
||||||
if (0 == strcmp("FinishUpdate", funcName))
|
if (0 == strcmp("FinishUpdate", funcName))
|
||||||
return funcPointer; //&FinishUpdate;
|
return funcPointer; //&FinishUpdate;
|
||||||
|
|
|
@ -122,6 +122,8 @@ static loadfunc_t hwdFuncTable[] = {
|
||||||
{"DoScreenWipe@4", &hwdriver.pfnDoScreenWipe},
|
{"DoScreenWipe@4", &hwdriver.pfnDoScreenWipe},
|
||||||
{"DrawIntermissionBG@0",&hwdriver.pfnDrawIntermissionBG},
|
{"DrawIntermissionBG@0",&hwdriver.pfnDrawIntermissionBG},
|
||||||
{"MakeScreenTexture@0", &hwdriver.pfnMakeScreenTexture},
|
{"MakeScreenTexture@0", &hwdriver.pfnMakeScreenTexture},
|
||||||
|
{"MakeScreenFinalTexture@0", &hwdriver.pfnMakeScreenFinalTexture},
|
||||||
|
{"DrawScreenFinalTexture@8", &hwdriver.pfnDrawScreenFinalTexture}
|
||||||
#else
|
#else
|
||||||
{"Init", &hwdriver.pfnInit},
|
{"Init", &hwdriver.pfnInit},
|
||||||
{"Shutdown", &hwdriver.pfnShutdown},
|
{"Shutdown", &hwdriver.pfnShutdown},
|
||||||
|
@ -150,6 +152,8 @@ static loadfunc_t hwdFuncTable[] = {
|
||||||
{"DoScreenWipe", &hwdriver.pfnDoScreenWipe},
|
{"DoScreenWipe", &hwdriver.pfnDoScreenWipe},
|
||||||
{"DrawIntermissionBG", &hwdriver.pfnDrawIntermissionBG},
|
{"DrawIntermissionBG", &hwdriver.pfnDrawIntermissionBG},
|
||||||
{"MakeScreenTexture", &hwdriver.pfnMakeScreenTexture},
|
{"MakeScreenTexture", &hwdriver.pfnMakeScreenTexture},
|
||||||
|
{"MakeScreenFinalTexture", &hwdriver.pfnMakeScreenFinalTexture},
|
||||||
|
{"DrawScreenFinalTexture", &hwdriver.pfnDrawScreenFinalTexture}
|
||||||
#endif
|
#endif
|
||||||
{NULL,NULL}
|
{NULL,NULL}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue