mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-19 19:01:24 +00:00
24 lines
529 B
C
24 lines
529 B
C
|
#include "hardware.h"
|
||
|
#include "v_video.h"
|
||
|
|
||
|
class SDLVideo : public IVideo
|
||
|
{
|
||
|
public:
|
||
|
SDLVideo (int parm);
|
||
|
~SDLVideo ();
|
||
|
|
||
|
EDisplayType GetDisplayType () { return DISPLAY_Both; }
|
||
|
bool FullscreenChanged (bool fs);
|
||
|
void SetWindowedScale (float scale);
|
||
|
|
||
|
DFrameBuffer *CreateFrameBuffer (int width, int height, bool fs, DFrameBuffer *old);
|
||
|
|
||
|
void StartModeIterator (int bits);
|
||
|
bool NextMode (int *width, int *height, bool *letterbox);
|
||
|
|
||
|
private:
|
||
|
int IteratorMode;
|
||
|
int IteratorBits;
|
||
|
bool IteratorFS;
|
||
|
};
|