summaryrefslogtreecommitdiff
path: root/src/mesa/main/api_loopback.h
diff options
context:
space:
mode:
authorPaul Berry <stereotype441@gmail.com>2012-10-21 11:16:07 -0700
committerPaul Berry <stereotype441@gmail.com>2012-10-23 10:24:39 -0700
commit992ed68ed65b99fd76213cb355404f9a18e26da1 (patch)
tree0e02e16aa7eb9a1c3f507d0cee29377ecb5a45dd /src/mesa/main/api_loopback.h
parentab7188e1992e655031550d611178c55abe33d5c5 (diff)
main: Fix warning ('struct gl_context' declared inside parameter list).
This eliminates a warning in GCC 4.7.1. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Diffstat (limited to 'src/mesa/main/api_loopback.h')
-rw-r--r--src/mesa/main/api_loopback.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/main/api_loopback.h b/src/mesa/main/api_loopback.h
index 3e43286d221..628d4f89ef6 100644
--- a/src/mesa/main/api_loopback.h
+++ b/src/mesa/main/api_loopback.h
@@ -31,6 +31,7 @@
#include "main/mfeatures.h"
struct _glapi_table;
+struct gl_context;
extern void
_mesa_loopback_init_api_table(const struct gl_context *ctx,