diff options
author | Alan Hourihane <alanh@tungstengraphics.com> | 2004-04-13 09:43:51 +0000 |
---|---|---|
committer | Alan Hourihane <alanh@tungstengraphics.com> | 2004-04-13 09:43:51 +0000 |
commit | bfaca5c64907c78589ed41a2e6bd11c7c7f5640a (patch) | |
tree | 10a9a3389f13fc9af08bca9ff3907aa7cc6c91f0 /src/mesa/drivers/dri/r200/r200_ioctl.h | |
parent | fb7766853d7fe77b1416afb32f32fb6dc2c442d1 (diff) |
fix the usage of GLX_MESA_allocate_memory
Diffstat (limited to 'src/mesa/drivers/dri/r200/r200_ioctl.h')
-rw-r--r-- | src/mesa/drivers/dri/r200/r200_ioctl.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/r200/r200_ioctl.h b/src/mesa/drivers/dri/r200/r200_ioctl.h index 0679194603..9684d9682c 100644 --- a/src/mesa/drivers/dri/r200/r200_ioctl.h +++ b/src/mesa/drivers/dri/r200/r200_ioctl.h @@ -106,10 +106,10 @@ extern void r200WaitForIdleLocked( r200ContextPtr rmesa ); extern void r200WaitForVBlank( r200ContextPtr rmesa ); extern void r200InitIoctlFuncs( struct dd_function_table *functions ); -extern void *r200AllocateMemoryMESA( GLsizei size, GLfloat readfreq, +extern void *r200AllocateMemoryMESA( Display *dpy, int scrn, GLsizei size, GLfloat readfreq, GLfloat writefreq, GLfloat priority ); -extern void r200FreeMemoryMESA( GLvoid *pointer ); -extern GLuint r200GetMemoryOffsetMESA( const GLvoid *pointer ); +extern void r200FreeMemoryMESA( Display *dpy, int scrn, GLvoid *pointer ); +extern GLuint r200GetMemoryOffsetMESA( Display *dpy, int scrn, const GLvoid *pointer ); extern GLboolean r200IsGartMemory( r200ContextPtr rmesa, const GLvoid *pointer, GLint size ); |