From 3c5bfac63bcbc4028c552fe74d904e6a3416ff36 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 14 Jan 2003 04:49:07 +0000 Subject: initial code for render-to-texture --- src/mesa/drivers/x11/realglx.c | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'src/mesa/drivers/x11/realglx.c') diff --git a/src/mesa/drivers/x11/realglx.c b/src/mesa/drivers/x11/realglx.c index 7499843366..8ce9720a8b 100644 --- a/src/mesa/drivers/x11/realglx.c +++ b/src/mesa/drivers/x11/realglx.c @@ -1,10 +1,10 @@ -/* $Id: realglx.c,v 1.6 2002/10/08 23:16:27 brianp Exp $ */ +/* $Id: realglx.c,v 1.7 2003/01/14 04:49:07 brianp Exp $ */ /* * Mesa 3-D graphics library - * Version: 3.5 + * Version: 5.1 * - * Copyright (C) 1999-2001 Brian Paul All Rights Reserved. + * Copyright (C) 1999-2002 Brian Paul All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -177,5 +177,10 @@ _real_GetGLXDispatchTable(void) /*** GLX_MESA_agp_offset ***/ glx.GetAGPOffsetMESA = _real_glXGetAGPOffsetMESA; + /*** GLX_ARB_render_texture ***/ + glx.BindTexImageARB = _real_glXBindTexImageARB; + glx.ReleaseTexImageARB = _real_glXReleaseTexImageARB; + glx.DrawableAttribARB = _real_glXDrawableAttribARB; + return &glx; } -- cgit v1.2.3