1
0
mirror of https://github.com/blupi-games/planetblupi synced 2024-12-30 10:15:36 +01:00

Cosmetic: fix style

This commit is contained in:
Mathieu Schroeter 2017-02-20 18:29:36 +01:00
parent f07c5c9543
commit f6334f8701

View File

@ -99,12 +99,12 @@ bool CMovie::fileOpenMovie (RECT rect, const char *pFilename)
SDL_PauseAudioDevice (m_audioDev, 0);
m_videoTex = SDL_CreateTexture (
g_renderer,
pinfo->video.format,
SDL_TEXTUREACCESS_STATIC,
pinfo->video.width,
pinfo->video.height
);
g_renderer,
pinfo->video.format,
SDL_TEXTUREACCESS_STATIC,
pinfo->video.width,
pinfo->video.height
);
if (m_videoTex == nullptr)
return false;
@ -136,9 +136,9 @@ void CMovie::playMovie()
CMovie::CMovie()
{
m_bEnable = false;
m_fPlaying = false;
m_fMovieOpen = false;
m_bEnable = false;
m_fPlaying = false;
m_fMovieOpen = false;
m_movie = nullptr;
m_player = nullptr;
@ -212,6 +212,7 @@ void CMovie::Stop()
{
if (!m_bEnable)
return;
fileCloseMovie();
SDL_RenderSetLogicalSize (g_renderer, LXIMAGE, LYIMAGE);
}