{
    This file is part of Chentrah,
    Copyright (C) 2004-2008 Anton Rzheshevski (chebmaster@mail.ru).

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 2 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see http://www.gnu.org/licenses/

 **********************************************************************

   This header contains the OpenGL definitions specific for the Win32 platform

 **********************************************************************}

var
  wglCreateContext: function (p1:HDC):HGLRC; stdcall = nil;//external 'opengl32' name 'wglCreateContext';
  wglDeleteContext: function (p1:HGLRC):WINBOOL;  stdcall = nil; //external 'opengl32' name 'wglDeleteContext';
  wglChoosePixelFormat: function (DC: HDC; p2: PPixelFormatDescriptor): Integer; stdcall = nil;
  wglGetProcAddress: function (proc: PChar): Pointer; stdcall = nil;
  wglMakeCurrent: function (p1:HDC; p2:HGLRC):WINBOOL; stdcall = nil; //external 'opengl32' name 'wglMakeCurrent';
  wglDescribePixelformat: function (p1:HDC; p2:longint; p3:UINT; p4:LPPIXELFORMATDESCRIPTOR):longint;  stdcall = nil;
  wglGetPixelformat: function (p1:HDC):longint; stdcall = nil;
  wglSetPixelformat: function (p1:HDC; p2:longint;p3:PPIXELFORMATDESCRIPTOR):WINBOOL; stdcall = nil;
  wglSwapBuffers: function (p1:HDC):WINBOOL; stdcall = nil;

  wglSwapInterval: procedure (p1:GLint); stdcall = nil;
  wglGetSwapInterval: function (): GLint; stdcall = nil;
  

