diff options
Diffstat (limited to 'include/image_writer.h')
-rw-r--r-- | include/image_writer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/image_writer.h b/include/image_writer.h index 400edd0..65e7497 100644 --- a/include/image_writer.h +++ b/include/image_writer.h @@ -25,7 +25,7 @@ typedef struct { } gsr_image_writer; bool gsr_image_writer_init_opengl(gsr_image_writer *self, gsr_egl *egl, int width, int height); -/* |memory| is taken as a reference */ +/* |memory| is taken as a reference. The data is expected to be in rgba8 format (8 bit rgba) */ bool gsr_image_writer_init_memory(gsr_image_writer *self, const void *memory, int width, int height); void gsr_image_writer_deinit(gsr_image_writer *self); |