i915: include teximage.h
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 12 Feb 2016 23:20:29 +0000 (15:20 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 12 Feb 2016 23:20:29 +0000 (15:20 -0800)
To get _mesa_num_tex_faces() prototype.

src/mesa/drivers/dri/i915/intel_tex_validate.c

index 224a67fc6eba4971ae9493ab9051f3c3858944f7..c2111e5e209af5900cbeab2f54948e3e022bf466 100644 (file)
@@ -1,6 +1,7 @@
 #include "main/mtypes.h"
 #include "main/macros.h"
 #include "main/samplerobj.h"
+#include "main/teximage.h"
 #include "main/texobj.h"
 
 #include "intel_context.h"