mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-12-04 01:11:19 +00:00
Fix linux compile errors
This commit is contained in:
parent
a04699ec1c
commit
eb2b5269f9
3 changed files with 5 additions and 2 deletions
|
@ -326,7 +326,7 @@ bool SDLGLVideo::InitHardware (bool allowsoftware, int multisample)
|
||||||
// FrameBuffer implementation -----------------------------------------------
|
// FrameBuffer implementation -----------------------------------------------
|
||||||
|
|
||||||
SDLGLFB::SDLGLFB (void *, int width, int height, int, int, bool fullscreen, bool bgra)
|
SDLGLFB::SDLGLFB (void *, int width, int height, int, int, bool fullscreen, bool bgra)
|
||||||
: DFrameBuffer (width, height, bgra)
|
: SDLBaseFB (width, height, bgra)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
|
|
|
@ -39,7 +39,10 @@ class SDLBaseFB : public DFrameBuffer
|
||||||
{
|
{
|
||||||
DECLARE_CLASS(SDLBaseFB, DFrameBuffer)
|
DECLARE_CLASS(SDLBaseFB, DFrameBuffer)
|
||||||
public:
|
public:
|
||||||
|
using DFrameBuffer::DFrameBuffer;
|
||||||
virtual SDL_Window *GetSDLWindow() = 0;
|
virtual SDL_Window *GetSDLWindow() = 0;
|
||||||
|
|
||||||
|
friend class SDLGLVideo;
|
||||||
};
|
};
|
||||||
|
|
||||||
class SDLGLFB : public SDLBaseFB
|
class SDLGLFB : public SDLBaseFB
|
||||||
|
|
|
@ -110,7 +110,7 @@ void ScaleWithAspect (int &w, int &h, int Width, int Height)
|
||||||
// FrameBuffer implementation -----------------------------------------------
|
// FrameBuffer implementation -----------------------------------------------
|
||||||
|
|
||||||
SDLFB::SDLFB (int width, int height, bool bgra, bool fullscreen, SDL_Window *oldwin)
|
SDLFB::SDLFB (int width, int height, bool bgra, bool fullscreen, SDL_Window *oldwin)
|
||||||
: DFrameBuffer (width, height, bgra)
|
: SDLBaseFB (width, height, bgra)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue