summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r200/r200_ioctl.c
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@tungstengraphics.com>2004-04-13 09:43:51 +0000
committerAlan Hourihane <alanh@tungstengraphics.com>2004-04-13 09:43:51 +0000
commitbfaca5c64907c78589ed41a2e6bd11c7c7f5640a (patch)
tree10a9a3389f13fc9af08bca9ff3907aa7cc6c91f0 /src/mesa/drivers/dri/r200/r200_ioctl.c
parentfb7766853d7fe77b1416afb32f32fb6dc2c442d1 (diff)
fix the usage of GLX_MESA_allocate_memory
Diffstat (limited to 'src/mesa/drivers/dri/r200/r200_ioctl.c')
-rw-r--r--src/mesa/drivers/dri/r200/r200_ioctl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/r200/r200_ioctl.c b/src/mesa/drivers/dri/r200/r200_ioctl.c
index 0a38da2d60..edb6079d7e 100644
--- a/src/mesa/drivers/dri/r200/r200_ioctl.c
+++ b/src/mesa/drivers/dri/r200/r200_ioctl.c
@@ -782,7 +782,7 @@ void r200Finish( GLcontext *ctx )
* the kernel data structures, and the current context to get the
* device fd.
*/
-void *r200AllocateMemoryMESA(GLsizei size,
+void *r200AllocateMemoryMESA(Display *dpy, int scrn, GLsizei size,
GLfloat readfreq, GLfloat writefreq,
GLfloat priority)
{
@@ -827,7 +827,7 @@ void *r200AllocateMemoryMESA(GLsizei size,
/* Called via glXFreeMemoryMESA() */
-void r200FreeMemoryMESA(GLvoid *pointer)
+void r200FreeMemoryMESA(Display *dpy, int scrn, GLvoid *pointer)
{
GET_CURRENT_CONTEXT(ctx);
r200ContextPtr rmesa;
@@ -867,7 +867,7 @@ void r200FreeMemoryMESA(GLvoid *pointer)
}
/* Called via glXGetMemoryOffsetMESA() */
-GLuint r200GetMemoryOffsetMESA(const GLvoid *pointer)
+GLuint r200GetMemoryOffsetMESA(Display *dpy, int scrn, const GLvoid *pointer)
{
GET_CURRENT_CONTEXT(ctx);
r200ContextPtr rmesa;