summaryrefslogtreecommitdiffstats
path: root/src/glsl/program.h
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2010-08-23 17:51:42 +0800
committerChia-I Wu <[email protected]>2010-08-24 11:27:29 +0800
commitbfd7c9ac228c7ed8aec04c3b3aa33f40ee00b035 (patch)
tree253e93215989a58b0ec088b7fad095766e3cab80 /src/glsl/program.h
parentf90b5936d07c4c8f280318ab5cf5894ecb67aef6 (diff)
glsl: Include main/core.h.
Make glsl include only main/core.h from core mesa.
Diffstat (limited to 'src/glsl/program.h')
-rw-r--r--src/glsl/program.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/glsl/program.h b/src/glsl/program.h
index ea2c4ab0dda..893169b6cc2 100644
--- a/src/glsl/program.h
+++ b/src/glsl/program.h
@@ -21,13 +21,7 @@
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
-#include <GL/gl.h>
-#include "main/mtypes.h"
-
-extern "C" {
-#include "program/prog_parameter.h"
-#include "program/prog_uniform.h"
-}
+#include "main/core.h"
extern void
link_shaders(GLcontext *ctx, struct gl_shader_program *prog);