Browse Source

define GL_GLEXT_PROTOTYPES before including mesa_wgl.h

tags/mesa_3_5
Brian Paul 25 years ago
parent
commit
00277e836d
1 changed files with 7 additions and 4 deletions
  1. 7
    4
      src/mesa/main/glheader.h

+ 7
- 4
src/mesa/main/glheader.h View File

/* $Id: glheader.h,v 1.11 2000/06/12 15:40:47 brianp Exp $ */
/* $Id: glheader.h,v 1.12 2000/08/02 00:41:21 brianp Exp $ */


/* /*
* Mesa 3-D graphics library * Mesa 3-D graphics library
* Version: 3.3
* Version: 3.5
* *
* Copyright (C) 1999-2000 Brian Paul All Rights Reserved. * Copyright (C) 1999-2000 Brian Paul All Rights Reserved.
* *
typedef unsigned long COLORREF; typedef unsigned long COLORREF;
#endif #endif



/* Make sure we include glext.h from gl.h */
#define GL_GLEXT_PROTOTYPES


#if defined(_WIN32) && !defined(_WINGDI_) && !defined(_GNU_H_WINDOWS32_DEFINES) && !defined(OPENSTEP) #if defined(_WIN32) && !defined(_WINGDI_) && !defined(_GNU_H_WINDOWS32_DEFINES) && !defined(OPENSTEP)
# define WGL_FONT_LINES 0 # define WGL_FONT_LINES 0
# define WGL_FONT_POLYGONS 1 # define WGL_FONT_POLYGONS 1






/* Make sure we include glext.h */
#define GL_GLEXT_PROTOTYPES
#include "GL/gl.h" #include "GL/gl.h"
#include "GL/glext.h" #include "GL/glext.h"



Loading…
Cancel
Save