- fix linux compile

# Conflicts:
#	src/posix/sdl/sdlvideo.cpp
This commit is contained in:
raa-eruanna 2017-11-18 08:11:27 -05:00 committed by Rachael Alexanderson
parent 35bb9ba9d3
commit 28d47d463f

View file

@ -555,6 +555,7 @@ ADD_STAT (blit)
// each platform has its own specific version of this function. // each platform has its own specific version of this function.
void I_SetWindowTitle(const char* caption) void I_SetWindowTitle(const char* caption)
{ {
auto Screen = static_cast<SDLFB *>(screen)->GetSDLWindow();
if (caption) if (caption)
SDL_SetWindowTitle(static_cast<SDLFB *>(screen)->GetSDLWindow(), caption); SDL_SetWindowTitle(static_cast<SDLFB *>(screen)->GetSDLWindow(), caption);
else else