mirror of
https://github.com/tribes2/engine.git
synced 2026-03-02 20:10:25 +00:00
t2 engine svn checkout
This commit is contained in:
commit
ff569bd2ae
988 changed files with 394180 additions and 0 deletions
31
platformPPC/ppcOGLVideo.h
Normal file
31
platformPPC/ppcOGLVideo.h
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
//-----------------------------------------------------------------------------
|
||||
// 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue