From 3138076bc47e6420267efeb467c4c3ea0741b086 Mon Sep 17 00:00:00 2001 From: Zhao Huang Date: Thu, 22 Dec 2011 08:30:07 +0000 Subject: [PATCH] Add a small change to make the header more friendly to the Intel Compiler --- panda/src/glstuff/glGraphicsStateGuardian_src.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panda/src/glstuff/glGraphicsStateGuardian_src.h b/panda/src/glstuff/glGraphicsStateGuardian_src.h index e293e1baa6..cd5ae9193e 100644 --- a/panda/src/glstuff/glGraphicsStateGuardian_src.h +++ b/panda/src/glstuff/glGraphicsStateGuardian_src.h @@ -54,7 +54,7 @@ typedef double GLdouble; // system GL version matches or exceeds the GL version in which these // functions are defined, and the system gl.h sometimes doesn't // declare these typedefs. -#ifndef __EDG__ // Protect the following from the Tau instrumentor. +#if !defined( __EDG__ ) || defined( __INTEL_COMPILER ) // Protect the following from the Tau instrumentor and expose it for the intel compiler. typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXIMAGEPROC) (GLenum target, GLint level, GLvoid *img); typedef void (APIENTRYP PFNGLGENQUERIESPROC) (GLsizei n, GLuint *ids); typedef void (APIENTRYP PFNGLBEGINQUERYPROC) (GLenum target, GLuint id);