Renamed DirectVideoInitialize/Destroy() to WinVideoInitialize/Destroy()

This commit is contained in:
tomcw 2020-11-21 21:13:21 +00:00
parent 2a7191f5ce
commit c79abb45eb
5 changed files with 7 additions and 7 deletions

View File

@ -2064,7 +2064,7 @@ static void RepeatInitialization(void)
JoyInitialize();
LogFileOutput("Main: JoyInitialize()\n");
DirectVideoInitialize(); // g_pFramebufferinfo been created now
WinVideoInitialize(); // g_pFramebufferinfo been created now
LogFileOutput("Main: VideoInitialize()\n");
LogFileOutput("Main: FrameCreateWindow() - pre\n");

View File

@ -1162,7 +1162,7 @@ LRESULT CALLBACK FrameWndProc (
CpuDestroy();
MemDestroy();
SpkrDestroy();
DirectVideoDestroy();
WinVideoDestroy();
MB_Destroy();
DeleteGdiObjects();
DIMouse::DirectInputUninit(window); // NB. do before window is destroyed

View File

@ -50,7 +50,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
// Globals (Public)
uint8_t *g_pFramebufferbits = NULL; // last drawn frame (initialized in DirectVideoInitialize)
uint8_t *g_pFramebufferbits = NULL; // last drawn frame (initialized in WinVideoInitialize)
int g_nAltCharSetOffset = 0; // alternate character set
// Globals (Private)

View File

@ -81,7 +81,7 @@ static void videoCreateDIBSection()
// ----- ALL GLOBALLY ACCESSIBLE FUNCTIONS ARE BELOW THIS LINE -----
//
void DirectVideoInitialize()
void WinVideoInitialize()
{
// RESET THE VIDEO MODE SWITCHES AND THE CHARACTER SET OFFSET
VideoResetState();
@ -108,7 +108,7 @@ void DirectVideoInitialize()
videoCreateDIBSection();
}
void DirectVideoDestroy()
void WinVideoDestroy()
{
// DESTROY BUFFERS

View File

@ -2,8 +2,8 @@
// Prototypes _______________________________________________________
void DirectVideoInitialize();
void DirectVideoDestroy();
void WinVideoInitialize();
void WinVideoDestroy();
void VideoBenchmark ();
void VideoChooseMonochromeColor (); // FIXME: Should be moved to PageConfig and call VideoSetMonochromeColor()