2002-09-08 02:20:19 -04:00
|
|
|
/*
|
|
|
|
* RenderingContext.h
|
2002-12-30 02:09:35 -05:00
|
|
|
* lwjglOSX
|
2002-09-08 02:20:19 -04:00
|
|
|
*
|
2002-12-30 02:09:35 -05:00
|
|
|
* Created by Gregory Pierce on Sat Dec 28 2002.
|
2002-09-08 02:20:19 -04:00
|
|
|
* Copyright (c) 2002 __MyCompanyName__. All rights reserved.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
#include <Carbon/Carbon.h>
|
|
|
|
#include <AGL/agl.h>
|
2002-12-30 02:09:35 -05:00
|
|
|
#include <OpenGL/gl.h>
|
2002-09-08 02:20:19 -04:00
|
|
|
|
|
|
|
class RenderingContext
|
|
|
|
{
|
|
|
|
public:
|
2002-12-30 02:09:35 -05:00
|
|
|
AGLContext aglContext;
|
|
|
|
WindowPtr windowPtr;
|
|
|
|
Rect rect;
|
|
|
|
|
|
|
|
|
2002-09-08 02:20:19 -04:00
|
|
|
RenderingContext();
|
|
|
|
~RenderingContext();
|
2002-12-30 02:09:35 -05:00
|
|
|
};
|
|
|
|
|