diff options
author | José Fonseca <jrfonseca@tungstengraphics.com> | 2008-11-21 05:26:52 +0900 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2011-07-11 20:05:23 +0100 |
commit | b76478f86b8ff32b1639f1a6c2a567c09f8588a5 (patch) | |
tree | 2e871ddd89354ec99a60f6e1f612208a05ff2e78 /src/glut/glx/win32_x11.h | |
parent | c60f977b7e8db821a790bce1fa34bcec47e23fd7 (diff) | |
download | glut-b76478f86b8ff32b1639f1a6c2a567c09f8588a5.tar.gz |
glut: MinGW portability fixes.
Still, it doesn't run as well as the glut binaries...
Diffstat (limited to 'src/glut/glx/win32_x11.h')
-rw-r--r-- | src/glut/glx/win32_x11.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glut/glx/win32_x11.h b/src/glut/glx/win32_x11.h index 6f5c3a9..daf065e 100644 --- a/src/glut/glx/win32_x11.h +++ b/src/glut/glx/win32_x11.h @@ -228,7 +228,7 @@ typedef struct { SetWindowPos(window, HWND_BOTTOM, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE) #define XSetWMName(display, window, tp) \ - SetWindowText(window, (tp)->value) + SetWindowText(window, (const char *)(tp)->value) /* There really isn't a way to set the icon name separate from the windows name in Win32, so, just set the windows name. */ |