mirror of
https://github.com/tribes2/engine.git
synced 2026-01-19 19:24:45 +00:00
32 lines
754 B
C++
32 lines
754 B
C++
//-----------------------------------------------------------------------------
|
|
// V12 Engine
|
|
//
|
|
// Copyright (c) 2001 GarageGames.Com
|
|
// Portions Copyright (c) 2001 by Sierra Online, Inc.
|
|
//-----------------------------------------------------------------------------
|
|
|
|
#ifndef _PCCOGLVIDEO_H_
|
|
#define _PCCOGLVIDEO_H_
|
|
|
|
#ifndef _PLATFORMVIDEO_H_
|
|
#include "Platform/platformVideo.h"
|
|
#endif
|
|
|
|
class OpenGLDevice : public DisplayDevice
|
|
{
|
|
public:
|
|
OpenGLDevice();
|
|
~OpenGLDevice();
|
|
|
|
void initDevice();
|
|
bool activate();
|
|
void shutdown();
|
|
bool setResolution( Resolution &res, bool forceIt = false );
|
|
bool toggleFullScreen();
|
|
void swapBuffers();
|
|
|
|
static DisplayDevice* create();
|
|
};
|
|
|
|
#endif // _H_WINOGLVIDEO
|