mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-12-01 16:41:22 +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 -----------------------------------------------
|
||||
|
||||
SDLGLFB::SDLGLFB (void *, int width, int height, int, int, bool fullscreen, bool bgra)
|
||||
: DFrameBuffer (width, height, bgra)
|
||||
: SDLBaseFB (width, height, bgra)
|
||||
{
|
||||
int i;
|
||||
|
||||
|
|
|
@ -39,7 +39,10 @@ class SDLBaseFB : public DFrameBuffer
|
|||
{
|
||||
DECLARE_CLASS(SDLBaseFB, DFrameBuffer)
|
||||
public:
|
||||
using DFrameBuffer::DFrameBuffer;
|
||||
virtual SDL_Window *GetSDLWindow() = 0;
|
||||
|
||||
friend class SDLGLVideo;
|
||||
};
|
||||
|
||||
class SDLGLFB : public SDLBaseFB
|
||||
|
|
|
@ -110,7 +110,7 @@ void ScaleWithAspect (int &w, int &h, int Width, int Height)
|
|||
// FrameBuffer implementation -----------------------------------------------
|
||||
|
||||
SDLFB::SDLFB (int width, int height, bool bgra, bool fullscreen, SDL_Window *oldwin)
|
||||
: DFrameBuffer (width, height, bgra)
|
||||
: SDLBaseFB (width, height, bgra)
|
||||
{
|
||||
int i;
|
||||
|
||||
|
|
Loading…
Reference in a new issue