mirror of
https://github.com/AppleWin/AppleWin.git
synced 2025-02-06 09:30:20 +00:00
Renamed DirectVideoInitialize/Destroy() to WinVideoInitialize/Destroy()
This commit is contained in:
parent
2a7191f5ce
commit
c79abb45eb
@ -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");
|
||||
|
@ -1162,7 +1162,7 @@ LRESULT CALLBACK FrameWndProc (
|
||||
CpuDestroy();
|
||||
MemDestroy();
|
||||
SpkrDestroy();
|
||||
DirectVideoDestroy();
|
||||
WinVideoDestroy();
|
||||
MB_Destroy();
|
||||
DeleteGdiObjects();
|
||||
DIMouse::DirectInputUninit(window); // NB. do before window is destroyed
|
||||
|
@ -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)
|
||||
|
@ -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
|
||||
|
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user