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>
This commit is contained in:
Paul Berry 2012-10-23 14:06:32 -07:00
parent 47deaf6175
commit 33e0004720
4 changed files with 4 additions and 4 deletions

View file

@ -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"

View file

@ -54,7 +54,7 @@ header = """/* GLXEXT is the define used in the xserver when the GLX extension i
#include <stdlib.h>
#include <stdio.h>
#include <GL/gl.h>
#include "main/glheader.h"
#include "glapi.h"
#include "glapitable.h"

View file

@ -22,7 +22,7 @@
*/
#include <gtest/gtest.h>
#include <GL/gl.h>
#include "../mesa/main/glheader.h"
extern "C" {
#include "glapi/glapi.h"

View file

@ -22,7 +22,7 @@
*/
#include <gtest/gtest.h>
#include <GL/gl.h>
#include "../../../mesa/main/glheader.h"
extern "C" {
#include "glapi/glapi.h"