Mesa (master): glsl: Include missing header in slang_utility.h.

Vinson Lee vlee at kemper.freedesktop.org
Sun Aug 15 01:56:37 UTC 2010


Module: Mesa
Branch: master
Commit: 99003560cab2974335e23d61fb0e720b50ce77cf
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=99003560cab2974335e23d61fb0e720b50ce77cf

Author: Vinson Lee <vlee at vmware.com>
Date:   Sat Aug 14 18:56:17 2010 -0700

glsl: Include missing header in slang_utility.h.

Include glheader.h for GL symbols.

---

 src/mesa/slang/slang_utility.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/mesa/slang/slang_utility.h b/src/mesa/slang/slang_utility.h
index 2c0d0bc..cb9b6d2 100644
--- a/src/mesa/slang/slang_utility.h
+++ b/src/mesa/slang/slang_utility.h
@@ -26,6 +26,8 @@
 #define SLANG_UTILITY_H
 
 
+#include "main/glheader.h"
+
 /* Compile-time assertions.  If the expression is zero, try to declare an
  * array of size [-1] to cause compilation error.
  */




More information about the mesa-commit mailing list