#endif
-void
-intelFlush(GLcontext * ctx)
-{
- struct intel_context *intel = intel_context(ctx);
-
- /* Hmm:
- */
- intel->pipe->flush( intel->pipe, 0 );
-}
-
-
-
-
-
static void
intelInitDriverFunctions(struct dd_function_table *functions)
{
intelUnbindContext(__DRIcontextPrivate * driContextPriv)
{
struct intel_context *intel = (struct intel_context *) driContextPriv->driverPrivate;
- /* XXX UnbindContext is called AFTER the new context is made current.
- Hopefully shouldn't be a problem ? */
- GLcontext *ctx = intel->st->ctx;
- FLUSH_VERTICES(ctx, 0);
- intelFlush(ctx);
+ st_flush(intel->st);
return GL_TRUE;
}
#define PCI_CHIP_Q33_G 0x29D2
-/* ================================================================
- * intel_context.c:
- */
-
-extern void intelFlush(GLcontext * ctx);
-
/*======================================================================
* Inline conversion functions.
* These are better-typed than the macros used previously: