mirror of
https://github.com/ZDoom/qzdoom.git
synced 2025-03-14 06:42:09 +00:00
- fix compile on Linux
This commit is contained in:
parent
027dc99348
commit
2e2c6fd416
2 changed files with 8 additions and 2 deletions
|
@ -553,8 +553,9 @@ ADD_STAT (blit)
|
|||
}
|
||||
|
||||
// each platform has its own specific version of this function.
|
||||
void DFrameBuffer::I_SetWindowTitle(const char* caption)
|
||||
void SDLFB::I_SetWindowTitle(const char* caption)
|
||||
{
|
||||
Screen = GetSDLWindow();
|
||||
if (caption)
|
||||
SDL_SetWindowTitle(Screen, caption);
|
||||
else
|
||||
|
@ -564,3 +565,6 @@ void DFrameBuffer::I_SetWindowTitle(const char* caption)
|
|||
SDL_SetWindowTitle(Screen, default_caption);
|
||||
}
|
||||
}
|
||||
void DFrameBuffer::I_SetWindowTitle(const char* caption)
|
||||
{
|
||||
}
|
||||
|
|
|
@ -30,8 +30,9 @@ public:
|
|||
virtual void SetVSync(bool vsync);
|
||||
virtual void ScaleCoordsFromWindow(int16_t &x, int16_t &y);
|
||||
|
||||
SDL_Window *GetSDLWindow() override { return Screen; }
|
||||
void I_SetWindowTitle(const char* caption);
|
||||
|
||||
SDL_Window *GetSDLWindow() override { return Screen; }
|
||||
private:
|
||||
PalEntry SourcePalette[256];
|
||||
uint8_t GammaTable[3][256];
|
||||
|
@ -57,4 +58,5 @@ private:
|
|||
void ResetSDLRenderer();
|
||||
|
||||
SDLFB() {}
|
||||
void I_SetWindowTitle();
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue