0
0
Fork 0
mirror of https://github.com/ZDoom/raze-gles.git synced 2025-01-23 23:50:40 +00:00
raze-gles/source/common/platform/win32/gl_sysfb.h

21 lines
441 B
C
Raw Normal View History

#pragma once
#include "base_sysfb.h"
class SystemGLFrameBuffer : public SystemBaseFrameBuffer
{
typedef SystemBaseFrameBuffer Super;
public:
SystemGLFrameBuffer() {}
// Actually, hMonitor is a HMONITOR, but it's passed as a void * as there
// look to be some cross-platform bits in the way.
SystemGLFrameBuffer(void *hMonitor, bool fullscreen);
void SetVSync (bool vsync);
void SwapBuffers();
protected:
int SwapInterval;
};