mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-14 16:40:40 +00:00
28 lines
539 B
C
28 lines
539 B
C
|
#pragma once
|
||
|
|
||
|
#include "win32basevideo.h"
|
||
|
|
||
|
//==========================================================================
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//==========================================================================
|
||
|
|
||
|
class Win32GLVideo : public Win32BaseVideo
|
||
|
{
|
||
|
public:
|
||
|
Win32GLVideo();
|
||
|
|
||
|
DFrameBuffer *CreateFrameBuffer() override;
|
||
|
bool InitHardware(HWND Window, int multisample);
|
||
|
void Shutdown();
|
||
|
|
||
|
protected:
|
||
|
HGLRC m_hRC;
|
||
|
|
||
|
HWND InitDummy();
|
||
|
void ShutdownDummy(HWND dummy);
|
||
|
bool SetPixelFormat();
|
||
|
bool SetupPixelFormat(int multisample);
|
||
|
};
|