diff options
Diffstat (limited to 'make')
-rwxr-xr-x | make/gl-desktop.cfg | 6 | ||||
-rw-r--r-- | make/stub_includes/x11/window-lib.c | 4 |
2 files changed, 7 insertions, 3 deletions
diff --git a/make/gl-desktop.cfg b/make/gl-desktop.cfg index 30213c2f6..d6a610c59 100755 --- a/make/gl-desktop.cfg +++ b/make/gl-desktop.cfg @@ -57,11 +57,11 @@ ReturnsString glXQueryServerString ReturnsString glXGetClientString TemporaryCVariableDeclaration glXChooseFBConfig int count; TemporaryCVariableAssignment glXChooseFBConfig count = _ptr3[0]; -ReturnValueLength glXChooseFBConfig count +ReturnValueCapacity glXChooseFBConfig count * sizeof(GLXFBConfig) TemporaryCVariableDeclaration glXChooseFBConfigSGIX int count; TemporaryCVariableAssignment glXChooseFBConfigSGIX count = _ptr3[0]; -ReturnValueLength glXChooseFBConfigSGIX count +ReturnValueCapacity glXChooseFBConfigSGIX count * sizeof(GLXFBConfig) TemporaryCVariableDeclaration glXGetFBConfigs int count; TemporaryCVariableAssignment glXGetFBConfigs count = _ptr2[0]; -ReturnValueLength glXGetFBConfigs count +ReturnValueCapacity glXGetFBConfigs count * sizeof(GLXFBConfig) diff --git a/make/stub_includes/x11/window-lib.c b/make/stub_includes/x11/window-lib.c index 36092e85f..17ddcb1c7 100644 --- a/make/stub_includes/x11/window-lib.c +++ b/make/stub_includes/x11/window-lib.c @@ -31,6 +31,10 @@ extern int XFreePixmap( Pixmap /* pixmap */ ); +extern int XFree( + void* /* data */ +); + // Helper routine for querying whether Xinerama is enabled. Bool XineramaEnabled(Display* display); |