Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Merged Ryan's fix, in case we need it later.

  • Loading branch information
slouken committed Oct 29, 2006
1 parent 7392956 commit 53dccdd54d97e450c67c66d83a0c532ab4f619fd
Showing with 14 additions and 0 deletions.
  1. +10 −0 src/video/Xext/XME/xme.c
  2. +4 −0 src/video/Xext/extensions/xme.h
@@ -408,4 +408,14 @@ XiGMiscFullScreen(Display * dpy, int screen, XID window, XID cmap)
return (rep.success ? xTrue : xFalse);
}

/* SDL addition from Ryan: free memory used by xme. */
void
XiGMiscDestroy(void)
{
if (xigmisc_info) {
XextDestroyExtension(xigmisc_info);
xigmisc_info = NULL;
}
}

/* vi: set ts=4 sw=4 expandtab: */
@@ -38,5 +38,9 @@ extern int XiGMiscQueryResolutions(Display * dpy, int screen, int view,
XiGMiscResolutionInfo ** presolutions);
extern void XiGMiscChangeResolution(Display * dpy, int screen, int view,
int width, int height, int refresh);

/* SDL addition from Ryan: free memory used by xme. */
extern void XiGMiscDestroy(void);

#endif /* _XME_H_INCLUDED */
/* vi: set ts=4 sw=4 expandtab: */

0 comments on commit 53dccdd

Please sign in to comment.