From: Vinson Lee Date: Thu, 5 Aug 2010 08:23:05 +0000 (-0700) Subject: mesa: Include missing header in st_get_mipmap.h. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ea1744a66438b5863a8576087b07ad6ffdcd04c5;p=mesa.git mesa: Include missing header in st_get_mipmap.h. Include mtypes.h for GLcontext symbol. Add forward declaration for st_context. --- diff --git a/src/mesa/state_tracker/st_gen_mipmap.h b/src/mesa/state_tracker/st_gen_mipmap.h index 00fbae93026..016bf3f4bba 100644 --- a/src/mesa/state_tracker/st_gen_mipmap.h +++ b/src/mesa/state_tracker/st_gen_mipmap.h @@ -30,6 +30,10 @@ #define ST_GEN_MIPMAP_H +#include "main/mtypes.h" + +struct st_context; + extern void st_init_generate_mipmap(struct st_context *st);