mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-18 02:01:46 +00:00
10683e9123
Compiles but doesn't link yet.
20 lines
441 B
C++
20 lines
441 B
C++
#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;
|
|
};
|