mirror of
https://github.com/libretro/RetroArch
synced 2025-03-19 16:21:30 +00:00
commit
26cb223852
@ -184,7 +184,8 @@ static bool environ_cb_get_system_info(unsigned cmd, void *data)
|
|||||||
break;
|
break;
|
||||||
case RETRO_ENVIRONMENT_SET_SUBSYSTEM_INFO:
|
case RETRO_ENVIRONMENT_SET_SUBSYSTEM_INFO:
|
||||||
{
|
{
|
||||||
unsigned i, j;
|
unsigned i = 0;
|
||||||
|
unsigned j = 0;
|
||||||
unsigned size = i;
|
unsigned size = i;
|
||||||
const struct retro_subsystem_info *info =
|
const struct retro_subsystem_info *info =
|
||||||
(const struct retro_subsystem_info*)data;
|
(const struct retro_subsystem_info*)data;
|
||||||
|
@ -1106,12 +1106,12 @@ StaticTexture::StaticTexture(string id,
|
|||||||
bool linear,
|
bool linear,
|
||||||
bool mipmap,
|
bool mipmap,
|
||||||
vulkan_filter_chain_address address)
|
vulkan_filter_chain_address address)
|
||||||
: id(move(id)),
|
: device(device),
|
||||||
device(device),
|
|
||||||
image(image),
|
image(image),
|
||||||
view(view),
|
view(view),
|
||||||
memory(memory),
|
memory(memory),
|
||||||
buffer(move(buffer))
|
buffer(move(buffer)),
|
||||||
|
id(move(id))
|
||||||
{
|
{
|
||||||
texture.filter = linear ? VULKAN_FILTER_CHAIN_LINEAR : VULKAN_FILTER_CHAIN_NEAREST;
|
texture.filter = linear ? VULKAN_FILTER_CHAIN_LINEAR : VULKAN_FILTER_CHAIN_NEAREST;
|
||||||
texture.mip_filter =
|
texture.mip_filter =
|
||||||
@ -2104,8 +2104,8 @@ Framebuffer::Framebuffer(
|
|||||||
const VkPhysicalDeviceMemoryProperties &mem_props,
|
const VkPhysicalDeviceMemoryProperties &mem_props,
|
||||||
const Size2D &max_size, VkFormat format,
|
const Size2D &max_size, VkFormat format,
|
||||||
unsigned max_levels) :
|
unsigned max_levels) :
|
||||||
device(device),
|
|
||||||
memory_properties(mem_props),
|
memory_properties(mem_props),
|
||||||
|
device(device),
|
||||||
size(max_size),
|
size(max_size),
|
||||||
format(format),
|
format(format),
|
||||||
max_levels(max(max_levels, 1u))
|
max_levels(max(max_levels, 1u))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user