move intel_context_mesa() into intel_swapbuffers.c (the only place it's used now)
authorBrian <brian.paul@tungstengraphics.com>
Mon, 5 Nov 2007 18:59:09 +0000 (11:59 -0700)
committerBrian <brian.paul@tungstengraphics.com>
Mon, 5 Nov 2007 18:59:09 +0000 (11:59 -0700)
src/mesa/drivers/dri/intel_winsys/intel_context.h
src/mesa/drivers/dri/intel_winsys/intel_swapbuffers.c

index 9d24ca124af66dff7e0f0b8e7e6235df297fcf0b..5aa07d4ed173d76adc88a5ca3dcb3e19893cc21b 100644 (file)
@@ -143,14 +143,6 @@ extern int __intel_debug;
 #define PCI_CHIP_Q33_G                 0x29D2
 
 
-/** Cast wrapper */
-static INLINE struct intel_context *
-intel_context_mesa(GLcontext * ctx)
-{
-   return (struct intel_context *) ctx->DriverCtx;
-}
-
-
 /** Cast wrapper */
 static INLINE struct intel_context *
 intel_context(__DRIcontextPrivate *driContextPriv)
index f3bbbe874d0bbf89048427530358525c997c7bda..8a35a71669cc52dd0858a8d1650ce30d0ae5349e 100644 (file)
 #include "state_tracker/st_cb_fbo.h"
 
 
+
+/** Cast wrapper */
+static INLINE struct intel_context *
+intel_context_mesa(GLcontext * ctx)
+{
+   return (struct intel_context *) ctx->DriverCtx;
+}
+
+
 /** XXX temporary - want to get rid of this */
 static struct intel_context *
 intelScreenContext(struct intel_screen *intelScreen)