From e58286ccb6e47a91ea5bc06e7dc54a17b674c9c3 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 14 Jan 2003 04:49:31 +0000 Subject: prototype render-to-texture --- include/GL/glx.h | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'include/GL') diff --git a/include/GL/glx.h b/include/GL/glx.h index 4236ece75a..88fa0f571c 100644 --- a/include/GL/glx.h +++ b/include/GL/glx.h @@ -1,4 +1,4 @@ -/* $Id: glx.h,v 1.38 2002/10/14 13:52:27 brianp Exp $ */ +/* $Id: glx.h,v 1.39 2003/01/14 04:49:31 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -485,6 +485,19 @@ typedef GLuint (* PFNGLXGETAGPOFFSETMESAPROC) (const GLvoid *pointer); #endif /* GLX_MESA_agp_offset */ +/* + * ARB ?. GLX_ARB_render_texture + */ +#ifndef GLX_ARB_render_texture +#define GLX_ARB_render_texture 1 + +extern Bool glXBindTexImageARB(Display *dpy, GLXPbuffer pbuffer, int buffer); +extern Bool glXReleaseTexImageARB(Display *dpy, GLXPbuffer pbuffer, int buffer); +extern Bool glXDrawableAttribARB(Display *dpy, GLXDrawable draw, const int *attribList); + +#endif /* GLX_ARB_render_texture */ + + #ifdef __cplusplus } -- cgit v1.2.3