[Mesa-dev] [PATCH v2 1/6] main: Fix warning ('struct gl_context' declared inside parameter list).

Paul Berry stereotype441 at gmail.com
Mon Oct 22 17:22:41 PDT 2012


This eliminates a warning in GCC 4.7.1.

Reviewed-by: Brian Paul <brianp at vmware.com>
---
 src/mesa/main/api_loopback.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/mesa/main/api_loopback.h b/src/mesa/main/api_loopback.h
index 3e43286..628d4f8 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,
-- 
1.7.12.4



More information about the mesa-dev mailing list