mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-16 11:55:39 +00:00
comp: Remaining 32-bit warning fixes
This commit is contained in:
parent
233c63a773
commit
457d411016
|
@ -17,6 +17,7 @@
|
||||||
#include "ogl/ogl_api.h"
|
#include "ogl/ogl_api.h"
|
||||||
#include "client/comp_gl_client.h"
|
#include "client/comp_gl_client.h"
|
||||||
|
|
||||||
|
#include <inttypes.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
|
@ -169,7 +170,9 @@ vk_format_to_gl(int64_t format)
|
||||||
case 44 /*VK_FORMAT_B8G8R8A8_UNORM*/: return 0;
|
case 44 /*VK_FORMAT_B8G8R8A8_UNORM*/: return 0;
|
||||||
case 50 /*VK_FORMAT_B8G8R8A8_SRGB*/: return 0;
|
case 50 /*VK_FORMAT_B8G8R8A8_SRGB*/: return 0;
|
||||||
default:
|
default:
|
||||||
printf("Cannot convert VK format %ld to GL format!\n", format);
|
printf("Cannot convert VK format 0x%016" PRIx64
|
||||||
|
" to GL format!\n",
|
||||||
|
format);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -95,7 +95,7 @@ create_image_fd(struct comp_compositor *c,
|
||||||
VkDeviceMemory device_memory = VK_NULL_HANDLE;
|
VkDeviceMemory device_memory = VK_NULL_HANDLE;
|
||||||
VkImage image = VK_NULL_HANDLE;
|
VkImage image = VK_NULL_HANDLE;
|
||||||
VkResult ret = VK_SUCCESS;
|
VkResult ret = VK_SUCCESS;
|
||||||
size_t size;
|
VkDeviceSize size;
|
||||||
int fd;
|
int fd;
|
||||||
|
|
||||||
COMP_SPEW(c, "->image - vkCreateImage %dx%d", width, height);
|
COMP_SPEW(c, "->image - vkCreateImage %dx%d", width, height);
|
||||||
|
|
Loading…
Reference in a new issue