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>
This commit is contained in:
Thomas Wood 2014-08-29 17:54:10 +01:00
parent 5303ce8076
commit 3aac97107e
2 changed files with 2 additions and 2 deletions

View File

@ -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);
}

View File

@ -70,7 +70,7 @@ igt_create_fb_with_bo_size(int fd, int width, int height,
uint32_t format, unsigned int tiling,
struct igt_fb *fb, unsigned bo_size);
unsigned int igt_create_fb(int fd, int width, int height, uint32_t format,
unsigned int , struct igt_fb *fb);
unsigned int tiling, struct igt_fb *fb);
unsigned int igt_create_color_fb(int fd, int width, int height,
uint32_t format, unsigned int tiling,
double r, double g, double b,