diff options
author | Kristian Høgsberg <krh@bitplanet.net> | 2010-06-08 14:08:30 -0400 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2010-06-08 14:08:30 -0400 |
commit | a85fe3cf45421b513fa95d5b5b18e7f3fd886348 (patch) | |
tree | 87064a3f66d40f989ab8b7cd37bb7020d3019673 /clients/gears.c | |
parent | 2cdc18452eced84dca24bef8b61bac8bbf7c9032 (diff) |
Use cairo-gl in clients
Diffstat (limited to 'clients/gears.c')
-rw-r--r-- | clients/gears.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/clients/gears.c b/clients/gears.c index 4b02943..ed71447 100644 --- a/clients/gears.c +++ b/clients/gears.c @@ -339,12 +339,8 @@ handle_frame(void *data, uint32_t frame, uint32_t timestamp) { struct gears *gears = data; - EGLint name, stride; - eglExportDRMImageMESA(gears->display, - gears->image, &name, NULL, &stride); - - window_copy(gears->window, &gears->rectangle, name, stride); + window_copy_image(gears->window, &gears->rectangle, gears->image); window_commit(gears->window, 10); |