Преглед на файлове

Add a small change to make the header more friendly to the Intel Compiler

Zhao Huang преди 14 години
родител
ревизия
3138076bc4
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      panda/src/glstuff/glGraphicsStateGuardian_src.h

+ 1 - 1
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);