We've had a hack to fix this in Gentoo on Solaris for a while. Signed-off-by: Matt Turner <matts...@gmail.com> --- Not sure what the deal is with uint, or why it wouldn't work on Solaris.
src/egl/drivers/glx/egl_glx.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/egl/drivers/glx/egl_glx.c b/src/egl/drivers/glx/egl_glx.c index 042936f..9082fb3 100644 --- a/src/egl/drivers/glx/egl_glx.c +++ b/src/egl/drivers/glx/egl_glx.c @@ -808,7 +808,7 @@ GLX_eglMakeCurrent(_EGLDriver *drv, _EGLDisplay *disp, _EGLSurface *dsurf, /** Get size of given window */ static Status -get_drawable_size(Display *dpy, Drawable d, uint *width, uint *height) +get_drawable_size(Display *dpy, Drawable d, unsigned *width, unsigned *height) { Window root; Status stat; @@ -831,7 +831,7 @@ GLX_eglCreateWindowSurface(_EGLDriver *drv, _EGLDisplay *disp, struct GLX_egl_driver *GLX_drv = GLX_egl_driver(drv); struct GLX_egl_display *GLX_dpy = GLX_egl_display(disp); struct GLX_egl_surface *GLX_surf; - uint width, height; + unsigned width, height; GLX_surf = CALLOC_STRUCT(GLX_egl_surface); if (!GLX_surf) { @@ -879,7 +879,7 @@ GLX_eglCreatePixmapSurface(_EGLDriver *drv, _EGLDisplay *disp, struct GLX_egl_driver *GLX_drv = GLX_egl_driver(drv); struct GLX_egl_display *GLX_dpy = GLX_egl_display(disp); struct GLX_egl_surface *GLX_surf; - uint width, height; + unsigned width, height; GLX_surf = CALLOC_STRUCT(GLX_egl_surface); if (!GLX_surf) { -- 1.7.3.4 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev