(Vulkan) Style nits

This commit is contained in:
twinaphex 2016-02-29 19:26:57 +01:00
parent ae5d7849af
commit b09a19d9a0

View File

@ -125,7 +125,8 @@ static void menu_display_vk_draw(void *data)
vk->display.pipelines[
to_display_pipeline(draw->prim_type, vk->display.blend)],
texture,
texture->default_smooth ? vk->samplers.linear : vk->samplers.nearest,
texture->default_smooth
? vk->samplers.linear : vk->samplers.nearest,
mat,
&range,
draw->coords->vertices,
@ -190,7 +191,6 @@ static void menu_display_vk_clear_color(void *data)
VkClearAttachment attachment = { VK_IMAGE_ASPECT_COLOR_BIT };
menu_display_ctx_clearcolor_t *clearcolor =
(menu_display_ctx_clearcolor_t*)data;
vk_t *vk = vk_get_ptr();
if (!vk || !clearcolor)
return;