diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2003-01-14 04:49:31 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2003-01-14 04:49:31 +0000 |
commit | e58286ccb6e47a91ea5bc06e7dc54a17b674c9c3 (patch) | |
tree | 1e11a25e471d4d46c8ed5cc986956a2ce0603ecf /include/GL/glx.h | |
parent | 3c5bfac63bcbc4028c552fe74d904e6a3416ff36 (diff) |
prototype render-to-texture
Diffstat (limited to 'include/GL/glx.h')
-rw-r--r-- | include/GL/glx.h | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/include/GL/glx.h b/include/GL/glx.h index 4236ece75af..88fa0f571c9 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 } |