mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-01-07 01:40:59 +00:00
05220a7133
Changed SWRender output format to be decided by IsBgra()
21 lines
473 B
C++
21 lines
473 B
C++
#include "hardware.h"
|
|
#include "v_video.h"
|
|
|
|
class SDLVideo : public IVideo
|
|
{
|
|
public:
|
|
SDLVideo (int parm);
|
|
~SDLVideo ();
|
|
|
|
EDisplayType GetDisplayType () { return DISPLAY_Both; }
|
|
void SetWindowedScale (float scale);
|
|
|
|
DFrameBuffer *CreateFrameBuffer (int width, int height, bool bgra, bool fs, DFrameBuffer *old);
|
|
|
|
void StartModeIterator (int bits, bool fs);
|
|
bool NextMode (int *width, int *height, bool *letterbox);
|
|
|
|
private:
|
|
int IteratorMode;
|
|
int IteratorBits;
|
|
};
|