Create front buffer with eagle.

This removes the intel dependencies from the system compositor.
This commit is contained in:
Kristian Høgsberg 2009-03-10 23:40:35 -04:00
parent 820a877428
commit b22382bfdc
2 changed files with 25 additions and 39 deletions

View file

@ -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);