summaryrefslogtreecommitdiffstats
path: root/gears.c
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@redhat.com>2009-03-10 23:40:35 -0400
committerKristian Høgsberg <krh@redhat.com>2009-03-10 23:54:36 -0400
commitb22382bfdc9d055196ea29fce0e90838f0ae0832 (patch)
treebe84a9d3303a7b867e305d24b855aed908d908c1 /gears.c
parent820a87742852b52004f06626bb4f683aebcd7dca (diff)
downloadwayland-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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gears.c b/gears.c
index b00961e..2b7b29e 100644
--- a/gears.c
+++ b/gears.c
@@ -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);