Update comment for vc_dispmanx_resource_read_data
authorMike <JinShil@users.noreply.github.com>
Wed, 22 Mar 2017 02:35:36 +0000 (11:35 +0900)
committerPhil Elwell <pelwell@users.noreply.github.com>
Wed, 22 Mar 2017 08:44:34 +0000 (08:44 +0000)
I think this is copying data *from* VideoCore memory, not *to" VideoCore memory.

interface/vmcs_host/vc_vchi_dispmanx.c

index 133e86dc7e02b5139d2d2a30e677641dcc6db534..7a6cdcdd15c4023a0d4cd67d13bf4d3e4eca8cab 100755 (executable)
@@ -409,7 +409,7 @@ VCHPRE_ int VCHPOST_ vc_dispmanx_resource_write_data( DISPMANX_RESOURCE_HANDLE_T
  *       void * src_address
  *       const VC_RECT_T * rect
  *
- * Description: Copy the bitmap data to VideoCore memory
+ * Description: Copy the bitmap data from VideoCore memory
  *
  * Returns: 0 or failure
  *