diff options
author | Chia-I Wu <[email protected]> | 2010-01-15 17:39:49 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2010-01-15 17:42:57 +0800 |
commit | 51b00574a2ef81629548b079ef70c016bdd4251d (patch) | |
tree | e5170ff8b5617948fd66eb2a22b20eaba8584050 /src/gallium/state_trackers/egl_g3d/x11/native_x11.h | |
parent | 6664a6dd7fb701da26e04559bd8110703a61fd8f (diff) |
st/egl_g3d: Always override flush_frontbuffer.
Instead of letting the native displays install their own version of
flush_frontbuffer, always override the callback with a version that
calls the flush_frontbuffer of the native surface.
Diffstat (limited to 'src/gallium/state_trackers/egl_g3d/x11/native_x11.h')
-rw-r--r-- | src/gallium/state_trackers/egl_g3d/x11/native_x11.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/gallium/state_trackers/egl_g3d/x11/native_x11.h b/src/gallium/state_trackers/egl_g3d/x11/native_x11.h index 9217eb62529..622ddac5df6 100644 --- a/src/gallium/state_trackers/egl_g3d/x11/native_x11.h +++ b/src/gallium/state_trackers/egl_g3d/x11/native_x11.h @@ -29,13 +29,9 @@ #include "common/native.h" struct native_display * -x11_create_ximage_display(EGLNativeDisplayType dpy, - boolean use_xshm, - native_flush_frontbuffer flush_frontbuffer); +x11_create_ximage_display(EGLNativeDisplayType dpy, boolean use_xshm); struct native_display * -x11_create_dri2_display(EGLNativeDisplayType dpy, - struct drm_api *api, - native_flush_frontbuffer flush_frontbuffer); +x11_create_dri2_display(EGLNativeDisplayType dpy, struct drm_api *api); #endif /* _NATIVE_X11_H_ */ |