[Mesa-dev] [PATCH] i915: add missing extensions.h include
Marek Olšák
maraeo at gmail.com
Thu Nov 16 16:09:42 UTC 2017
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
Marek
On Thu, Nov 16, 2017 at 4:55 PM, Emil Velikov <emil.l.velikov at gmail.com> wrote:
> From: Emil Velikov <emil.velikov at collabora.com>
>
> Otherwise we'll bail with due to -Werror=implicit-function-declaration.
> It went unnoticed since the we had a bug which did consistently set the
> compiler flag.
>
> Cc: Marek Olšák <maraeo at gmail.com>
> Fixes: ba8a347f932 ("mesa: split extensions overrides and glGetString(GL_EXTENSIONS)")
> Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
> ---
> Thanks Marek!
> ---
> src/mesa/drivers/dri/i915/i830_context.c | 1 +
> src/mesa/drivers/dri/i915/i915_context.c | 1 +
> 2 files changed, 2 insertions(+)
>
> diff --git a/src/mesa/drivers/dri/i915/i830_context.c b/src/mesa/drivers/dri/i915/i830_context.c
> index 4aa96cad0f8..ca00483067a 100644
> --- a/src/mesa/drivers/dri/i915/i830_context.c
> +++ b/src/mesa/drivers/dri/i915/i830_context.c
> @@ -27,6 +27,7 @@
>
> #include "i830_context.h"
> #include "main/api_exec.h"
> +#include "main/extensions.h"
> #include "main/imports.h"
> #include "main/version.h"
> #include "main/vtxfmt.h"
> diff --git a/src/mesa/drivers/dri/i915/i915_context.c b/src/mesa/drivers/dri/i915/i915_context.c
> index e40e358281a..05334b8dbc3 100644
> --- a/src/mesa/drivers/dri/i915/i915_context.c
> +++ b/src/mesa/drivers/dri/i915/i915_context.c
> @@ -28,6 +28,7 @@
> #include "i915_context.h"
> #include "main/api_exec.h"
> #include "main/framebuffer.h"
> +#include "main/extensions.h"
> #include "main/imports.h"
> #include "main/macros.h"
> #include "main/version.h"
> --
> 2.15.0
>
More information about the mesa-dev
mailing list