diff options
author | Kristian Høgsberg <krh@redhat.com> | 2009-03-10 23:40:35 -0400 |
---|---|---|
committer | Kristian Høgsberg <krh@redhat.com> | 2009-03-10 23:54:36 -0400 |
commit | b22382bfdc9d055196ea29fce0e90838f0ae0832 (patch) | |
tree | be84a9d3303a7b867e305d24b855aed908d908c1 /gears.c | |
parent | 820a87742852b52004f06626bb4f683aebcd7dca (diff) | |
download | wayland-b22382bfdc9d055196ea29fce0e90838f0ae0832.tar.gz wayland-b22382bfdc9d055196ea29fce0e90838f0ae0832.tar.xz wayland-b22382bfdc9d055196ea29fce0e90838f0ae0832.zip |
Create front buffer with eagle.
This removes the intel dependencies from the system compositor.
Diffstat (limited to 'gears.c')
-rw-r--r-- | gears.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -315,9 +315,9 @@ handle_frame(void *data, uint32_t frame, uint32_t timestamp) { struct gears *gears = data; - uint32_t name, stride; + uint32_t name, handle, stride; - eglGetNativeBuffer(gears->surface, GL_FRONT_LEFT, &name, &stride); + eglGetNativeBuffer(gears->surface, GL_FRONT_LEFT, &name, &handle, &stride); window_copy(gears->window, &gears->rectangle, name, stride); |