Index: include/lib/gfx.h |
diff --git a/include/lib/gfx.h b/include/lib/gfx.h |
index 8c68daa8701921f47ef5dba078e54ba3fcac9993..1b26d7ac915173d7b77f5c2283441442c84144cb 100644 |
--- a/include/lib/gfx.h |
+++ b/include/lib/gfx.h |
@@ -103,9 +103,9 @@ void gfx_flush_rows(struct gfx_surface *surface, uint start, uint end); |
// surface setup |
gfx_surface *gfx_create_surface(void *ptr, uint width, uint height, uint stride, gfx_format format); |
-// utility routine to make a surface out of a display info |
-struct display_info; |
-gfx_surface *gfx_create_surface_from_display(struct display_info *); |
+// utility routine to make a surface out of a display framebuffer |
+struct display_framebuffer; |
+gfx_surface *gfx_create_surface_from_display(struct display_framebuffer *); |
gkalsi
2016/03/09 21:13:37
__NONNULL((1));
cdotstout
2016/03/09 22:48:00
Done.
|
// free the surface |
// optionally frees the buffer if the free bit is set |