1 //////////////////////////////////////////////////////////////////////////////////////////
3 // class to setup pBuffer
4 // Downloaded from: www.paulsprojects.net
5 // Created: 9th September 2002
7 // Copyright (c) 2006, Paul Baker
8 // Distributed under the New BSD Licence. (See accompanying file License.txt or copy at
9 // http://www.paulsprojects.net/NewBSDLicense.txt)
10 //////////////////////////////////////////////////////////////////////////////////////////
18 HGLRC hRC
; //rendering context
19 HDC hDC
; //device context
21 HPBUFFERARB hBuffer
; //buffer handle
23 int width
, height
; //window size
24 int colorBits
, depthBits
, stencilBits
; //window bpp
26 bool Init( int newWidth
, int newHeight
,
27 int newColorBits
, int newDepthBits
, int newStencilBits
,
28 int numExtraIAttribs
, int * extraIAttribList
, int * flags
);
29 void Shutdown(void); //Properly kill pbuffer
31 bool MakeCurrent(void);