diff options
author | Chia-I Wu <[email protected]> | 2011-12-15 15:06:25 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2011-12-15 15:07:00 +0800 |
commit | 7aadb53ef020b13658c9a99ecffe554af8755420 (patch) | |
tree | ebaaf88301811c3bb5f78a894abb8f764d7e273e /src/gallium/state_trackers/egl/common | |
parent | a06f58fee5dbf0054fb363e759d30cf13c4bbab9 (diff) |
st/egl: fix compiler warnings
One is about casting a pointer to integer and the other is about an unused
function when HAVE_WAYLAND_BACKEND is not defined.
Diffstat (limited to 'src/gallium/state_trackers/egl/common')
-rw-r--r-- | src/gallium/state_trackers/egl/common/egl_g3d_image.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/egl/common/egl_g3d_image.c b/src/gallium/state_trackers/egl/common/egl_g3d_image.c index cf8ec98dbba..c6568d6e7c7 100644 --- a/src/gallium/state_trackers/egl/common/egl_g3d_image.c +++ b/src/gallium/state_trackers/egl/common/egl_g3d_image.c @@ -248,7 +248,7 @@ egl_g3d_create_image(_EGLDriver *drv, _EGLDisplay *dpy, _EGLContext *ctx, #ifdef EGL_MESA_drm_image case EGL_DRM_BUFFER_MESA: ptex = egl_g3d_reference_drm_buffer(dpy, - (EGLint) buffer, &gimg->base, attribs); + (EGLint) pointer_to_intptr(buffer), &gimg->base, attribs); break; #endif #ifdef EGL_WL_bind_wayland_display |