summaryrefslogtreecommitdiff
path: root/src/test2d/clear2d.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/test2d/clear2d.c')
-rw-r--r--src/test2d/clear2d.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/test2d/clear2d.c b/src/test2d/clear2d.c
index 1997303..4af8c5b 100644
--- a/src/test2d/clear2d.c
+++ b/src/test2d/clear2d.c
@@ -171,13 +171,6 @@ int main(int argc, char **argv)
bmp_dump32(bmp->logical, width, height, false, "/tmp/fb.bmp");
printf("Dump complete\n");
- /* Unlock video memory */
- if(etna_vidmem_unlock(conn, NULL, bmp) != 0)
- {
- fprintf(stderr, "Cannot unlock vidmem\n");
- exit(1);
- }
-
etna_free(ctx);
viv_close(conn);
return 0;