changes to 380 project 4 changes to 350 project 2 Signed-off-by: Amrit Panesar <apanesar@4195tech.com>
25 lines
498 B
C++
25 lines
498 B
C++
#pragma once
|
|
|
|
#include "..\GkDefinitions.h"
|
|
|
|
#include "GkWindowsForm.h"
|
|
|
|
class GKDLLCLASS GkOpenGLWindowsForm :
|
|
public GkWindowsForm
|
|
{
|
|
public:
|
|
HDC deviceContext;
|
|
HGLRC renderContext;
|
|
|
|
PIXELFORMATDESCRIPTOR pixelFormatDescriptor;
|
|
unsigned int pixelFormat;
|
|
|
|
GkOpenGLWindowsForm(HGLRC renderContext = 0);
|
|
virtual ~GkOpenGLWindowsForm(void);
|
|
|
|
bool GkOpenGLWindowsForm::CreateContext(HGLRC renderContext = 0);
|
|
bool GkOpenGLWindowsForm::Present();
|
|
bool GkOpenGLWindowsForm::MakeCurrent();
|
|
};
|
|
|