summaryrefslogtreecommitdiff
path: root/tests/glean
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2011-03-14 10:09:06 -0700
committerVinson Lee <vlee@vmware.com>2011-03-14 10:09:06 -0700
commit36e099de35e51e252f6ba64d7b08d1e05a80e9e0 (patch)
tree16127d47788643cd52f3bb12961b23708bacb40c /tests/glean
parent23b85db68c50889c9352342f9ffcbb8f520f9eec (diff)
glean/shaderAPI: Define APIENTRY if not defined.
Fixes Mac OS X build.
Diffstat (limited to 'tests/glean')
-rw-r--r--tests/glean/tshaderapi.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/glean/tshaderapi.h b/tests/glean/tshaderapi.h
index ef9ec801..11ccc2f4 100644
--- a/tests/glean/tshaderapi.h
+++ b/tests/glean/tshaderapi.h
@@ -32,6 +32,10 @@
#include "tbase.h"
+#ifndef APIENTRY
+#define APIENTRY
+#endif
+
namespace GLEAN {
#define windowSize 100