From 537cbb7e1a06c55260602004a6706f250b0eaf32 Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Sun, 3 Aug 2014 05:17:08 +0200 Subject: mesa: add a context-independent variant of _mesa_override_gl_version v2: changed GLboolean -> bool Reviewed-by: Ian Romanick Reviewed-by: Ilia Mirkin --- src/mesa/main/version.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/mesa/main/version.h') diff --git a/src/mesa/main/version.h b/src/mesa/main/version.h index 42eada99bf8..15bd6e3d8c8 100644 --- a/src/mesa/main/version.h +++ b/src/mesa/main/version.h @@ -27,14 +27,16 @@ #ifndef VERSION_H #define VERSION_H - -struct gl_context; -struct gl_constants; +#include "mtypes.h" extern void _mesa_compute_version(struct gl_context *ctx); +extern bool +_mesa_override_gl_version_contextless(struct gl_constants *consts, + gl_api *apiOut, GLuint *versionOut); + extern void _mesa_override_gl_version(struct gl_context *ctx); -- cgit v1.2.3