From be1565fce35cb3cbe173d3f294db8f2b32b94c79 Mon Sep 17 00:00:00 2001
From: Ronald Kinard <ronkinard93@gmail.com>
Date: Thu, 13 Nov 2014 22:34:09 -0600
Subject: [PATCH] Add support for new HWR functions in win32 and sdl12

---
 src/sdl12/hwsym_sdl.c | 2 ++
 src/win32/win_dll.c   | 4 ++++
 2 files changed, 6 insertions(+)

diff --git a/src/sdl12/hwsym_sdl.c b/src/sdl12/hwsym_sdl.c
index 44ddf830c..54f5da3a0 100644
--- a/src/sdl12/hwsym_sdl.c
+++ b/src/sdl12/hwsym_sdl.c
@@ -105,6 +105,8 @@ void *hwSym(const char *funcName,void *handle)
 	GETFUNC(DoScreenWipe);
 	GETFUNC(DrawIntermissionBG);
 	GETFUNC(MakeScreenTexture);
+	GETFUNC(MakeScreenFinalTexture);
+	GETFUNC(DrawScreenFinalTexture);
 #else //HWRENDER
 	if (0 == strcmp("FinishUpdate", funcName))
 		return funcPointer; //&FinishUpdate;
diff --git a/src/win32/win_dll.c b/src/win32/win_dll.c
index c6ea016f2..30c4d7f74 100644
--- a/src/win32/win_dll.c
+++ b/src/win32/win_dll.c
@@ -122,6 +122,8 @@ static loadfunc_t hwdFuncTable[] = {
 	{"DoScreenWipe@4",      &hwdriver.pfnDoScreenWipe},
 	{"DrawIntermissionBG@0",&hwdriver.pfnDrawIntermissionBG},
 	{"MakeScreenTexture@0", &hwdriver.pfnMakeScreenTexture},
+	{"MakeScreenFinalTexture@0", &hwdriver.pfnMakeScreenFinalTexture},
+	{"DrawScreenFinalTexture@8", &hwdriver.pfnDrawScreenFinalTexture}
 #else
 	{"Init",                &hwdriver.pfnInit},
 	{"Shutdown",            &hwdriver.pfnShutdown},
@@ -150,6 +152,8 @@ static loadfunc_t hwdFuncTable[] = {
 	{"DoScreenWipe",        &hwdriver.pfnDoScreenWipe},
 	{"DrawIntermissionBG",  &hwdriver.pfnDrawIntermissionBG},
 	{"MakeScreenTexture",   &hwdriver.pfnMakeScreenTexture},
+	{"MakeScreenFinalTexture", &hwdriver.pfnMakeScreenFinalTexture},
+	{"DrawScreenFinalTexture", &hwdriver.pfnDrawScreenFinalTexture}
 #endif
 	{NULL,NULL}
 };
-- 
GitLab