mirror of
https://github.com/DrBeef/Raze.git
synced 2024-12-11 13:21:39 +00:00
21 lines
344 B
C++
21 lines
344 B
C++
#pragma once
|
|
|
|
#include "win32basevideo.h"
|
|
#include "c_cvars.h"
|
|
#include "poly_framebuffer.h"
|
|
|
|
EXTERN_CVAR(Bool, vid_fullscreen)
|
|
|
|
class Win32PolyVideo : public Win32BaseVideo
|
|
{
|
|
public:
|
|
void Shutdown() override
|
|
{
|
|
}
|
|
|
|
DFrameBuffer *CreateFrameBuffer() override
|
|
{
|
|
auto fb = new PolyFrameBuffer(m_hMonitor, vid_fullscreen);
|
|
return fb;
|
|
}
|
|
};
|