prog/glsl: fix Makefile for samplers_array.

The rule added in 488b3c4d1b does not use the
right INCDIR, breaking the build when GL isn't installed in the default include
paths.

7.5 branch only fix, already fixed in master by rewriting the Makefile
(ceb9459ed5)

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2009-09-07 10:49:31 +10:00 committed by Dave Airlie
parent b2cba25f9e
commit bf19638a00

View file

@ -190,7 +190,7 @@ samplers: samplers.o $(UTIL_OBJS)
samplers_array.o: samplers.c $(UTIL_HEADERS)
$(APP_CC) $(CFLAGS) -DSAMPLERS_ARRAY $< -c -o $@
$(APP_CC) -I$(INCDIR) $(CFLAGS) -DSAMPLERS_ARRAY $< -c -o $@
samplers_array: samplers_array.o $(UTIL_OBJS)