summaryrefslogtreecommitdiff
path: root/lib/igt_fb.c
diff options
context:
space:
mode:
authorThomas Wood <thomas.wood@intel.com>2014-08-29 17:54:10 +0100
committerThomas Wood <thomas.wood@intel.com>2014-09-05 16:52:51 +0100
commit3aac97107ed386885cfb78f16e0c15a1042fe8cc (patch)
treeebcf951988dc1838263d6a67a9db3263eaf2fd94 /lib/igt_fb.c
parent5303ce8076b03a02f891090367d2abc53f9588b7 (diff)
lib/igt_fb: ensure igt_create_fb parameters are consistent
Make sure the parameters in the prototype and implementation of igt_create_fb match and are complete so that the documentation is correct. Signed-off-by: Thomas Wood <thomas.wood@intel.com>
Diffstat (limited to 'lib/igt_fb.c')
-rw-r--r--lib/igt_fb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/igt_fb.c b/lib/igt_fb.c
index f9f5de2a..ce0dd6b9 100644
--- a/lib/igt_fb.c
+++ b/lib/igt_fb.c
@@ -455,7 +455,7 @@ igt_create_fb_with_bo_size(int fd, int width, int height,
* The kms id of the created framebuffer.
*/
unsigned int igt_create_fb(int fd, int width, int height, uint32_t format,
- unsigned tiling, struct igt_fb *fb)
+ unsigned int tiling, struct igt_fb *fb)
{
return igt_create_fb_with_bo_size(fd, width, height, format, tiling, fb, 0);
}