{
GLcontext *mesaCtx = &c->mesa;
-#ifdef FX
- FXdestroyContext( XMESA_BUFFER(mesaCtx->DrawBuffer) );
-#endif
-
_mesa_free_context_data( mesaCtx );
_mesa_free( c );
}
c->xm_buffer = drawBuffer;
-#ifdef FX
- if (FXmakeCurrent( drawBuffer ))
- return GL_TRUE;
-#endif
-
/* Call this periodically to detect when the user has begun using
* GL rendering from multiple threads.
*/
_mesa_notifySwapBuffers(ctx);
if (b->db_mode) {
-#ifdef FX
- if (FXswapBuffers(b))
- return;
-#endif
if (b->backxrb->ximage) {
/* Copy Ximage (back buf) from client memory to server window */
#if defined(USE_XSHM) && !defined(XFree86Server)
if (b->db_mode) {
int yTop = b->mesa_buffer.Height - y - height;
-#ifdef FX
- if (FXswapBuffers(b))
- return;
-#endif
if (b->backxrb->ximage) {
/* Copy Ximage from host's memory to server's window */
#if defined(USE_XSHM) && !defined(XFree86Server)
#include "GL/xmesa.h"
#include "mtypes.h"
-#if defined(FX)
-#include "GL/fxmesa.h"
-#endif
#ifdef XFree86Server
#include "xm_image.h"
#endif
unsigned long alloced_colors[256];
#endif
-#if defined( FX )
- /* For 3Dfx Glide only */
- GLboolean FXisHackUsable; /* Can we render into window? */
- GLboolean FXwindowHack; /* Are we rendering into a window? */
- fxMesaContext FXctx;
-#endif
-
/* GLX_EXT_texture_from_pixmap */
GLint TextureTarget; /** GLX_TEXTURE_1D_EXT, for example */
GLint TextureFormat; /** GLX_TEXTURE_FORMAT_RGB_EXT, for example */