summaryrefslogtreecommitdiffstats
path: root/src/glx/tests/indirect_api.cpp
diff options
context:
space:
mode:
authorPaul Berry <stereotype441@gmail.com>2012-10-23 14:06:32 -0700
committerPaul Berry <stereotype441@gmail.com>2012-11-01 11:22:24 -0700
commit33e000472080af2a48d9753847469789100fa613 (patch)
tree01fd8e5e78c087c27c83529b24c1738fc7f62e73 /src/glx/tests/indirect_api.cpp
parent47deaf6175c01cbdc6816444f7c02cf5c875865d (diff)
downloadexternal_mesa3d-33e000472080af2a48d9753847469789100fa613.zip
external_mesa3d-33e000472080af2a48d9753847469789100fa613.tar.gz
external_mesa3d-33e000472080af2a48d9753847469789100fa613.tar.bz2
dispatch: Include glheader.h in dispatch-related files.
This ensures that GLES1-only typedefs are available in these files. In a future patch, this will allow us to expand the dispatch table to include GLES1-only functions. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
Diffstat (limited to 'src/glx/tests/indirect_api.cpp')
-rw-r--r--src/glx/tests/indirect_api.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glx/tests/indirect_api.cpp b/src/glx/tests/indirect_api.cpp
index a9759e1..af9eca5 100644
--- a/src/glx/tests/indirect_api.cpp
+++ b/src/glx/tests/indirect_api.cpp
@@ -44,7 +44,7 @@
*/
#include <gtest/gtest.h>
-#include <GL/gl.h>
+#include "main/glheader.h"
extern "C" {
#include "../indirect_init.h"
#include "glapi/glapi.h"