diff options
Diffstat (limited to 'hw/dmx/glxProxy/glxcmdsswap.c')
-rw-r--r-- | hw/dmx/glxProxy/glxcmdsswap.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/hw/dmx/glxProxy/glxcmdsswap.c b/hw/dmx/glxProxy/glxcmdsswap.c index 565793e22..25f8c5d65 100644 --- a/hw/dmx/glxProxy/glxcmdsswap.c +++ b/hw/dmx/glxProxy/glxcmdsswap.c @@ -44,7 +44,6 @@ #include <windowstr.h> #include "unpack.h" #include "glxext.h" -#include "GL/glx_ansic.h" #include "glxvendor.h" extern int glxIsExtensionSupported( char *ext ); @@ -714,7 +713,7 @@ int __glXSwapRenderLarge(__GLXclientState *cl, GLbyte *pc) } cl->largeCmdBufSize = hdr->length; } - __glXMemcpy(cl->largeCmdBuf, pc, req->dataBytes); + memcpy(cl->largeCmdBuf, pc, req->dataBytes); cl->largeCmdBytesSoFar = req->dataBytes; cl->largeCmdBytesTotal = hdr->length; @@ -737,7 +736,7 @@ int __glXSwapRenderLarge(__GLXclientState *cl, GLbyte *pc) return __glXBadLargeRequest; } - __glXMemcpy(cl->largeCmdBuf + cl->largeCmdBytesSoFar, + memcpy(cl->largeCmdBuf + cl->largeCmdBytesSoFar, pc, req->dataBytes); cl->largeCmdBytesSoFar += req->dataBytes; @@ -759,7 +758,7 @@ int __glXSwapRenderLarge(__GLXclientState *cl, GLbyte *pc) return __glXBadLargeRequest; } - __glXMemcpy(cl->largeCmdBuf + cl->largeCmdBytesSoFar, + memcpy(cl->largeCmdBuf + cl->largeCmdBytesSoFar, pc, req->dataBytes); cl->largeCmdBytesSoFar += req->dataBytes; |