Document image data being non-premultiplied

Fixes #426.
This commit is contained in:
Camilla Berglund
2015-08-17 21:04:19 +02:00
parent 352a4f2757
commit 85a01bfd9b
2 changed files with 6 additions and 5 deletions

View File

@@ -296,8 +296,9 @@ GLFWcursor* cursor = glfwCreateCursor(&image, 0, 0);
If cursor creation fails, `NULL` will be returned, so it is necessary to check
the return value.
The image data is 32-bit RGBA, i.e. eight bits per channel. The pixels are
arranged canonically as sequential rows, starting from the top-left corner.
The image data is 32-bit, little-endian, non-premultiplied RGBA, i.e. eight bits
per channel. The pixels are arranged canonically as sequential rows, starting
from the top-left corner.
@subsubsection cursor_standard Standard cursor creation