summaryrefslogtreecommitdiff
path: root/GL/glx/single2swap.c
diff options
context:
space:
mode:
Diffstat (limited to 'GL/glx/single2swap.c')
-rw-r--r--GL/glx/single2swap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/GL/glx/single2swap.c b/GL/glx/single2swap.c
index 571cc0a62..d1f56c2c2 100644
--- a/GL/glx/single2swap.c
+++ b/GL/glx/single2swap.c
@@ -69,7 +69,7 @@ int __glXDispSwap_FeedbackBuffer(__GLXclientState *cl, GLbyte *pc)
size = *(GLsizei *)(pc+0);
type = *(GLenum *)(pc+4);
if (cx->feedbackBufSize < size) {
- cx->feedbackBuf = (GLfloat *) __glXRealloc(cx->feedbackBuf,
+ cx->feedbackBuf = (GLfloat *) xrealloc(cx->feedbackBuf,
(size_t) size
* __GLX_SIZE_FLOAT32);
if (!cx->feedbackBuf) {
@@ -100,7 +100,7 @@ int __glXDispSwap_SelectBuffer(__GLXclientState *cl, GLbyte *pc)
__GLX_SWAP_INT(pc+0);
size = *(GLsizei *)(pc+0);
if (cx->selectBufSize < size) {
- cx->selectBuf = (GLuint *) __glXRealloc(cx->selectBuf,
+ cx->selectBuf = (GLuint *) xrealloc(cx->selectBuf,
(size_t) size
* __GLX_SIZE_CARD32);
if (!cx->selectBuf) {