fix linux build
This commit is contained in:
parent
50200262df
commit
a7288eba69
|
@ -841,13 +841,12 @@ static struct {
|
|||
} g_dynamic_model = {0};
|
||||
|
||||
void VK_RenderModelDynamicBegin( int render_mode, const char *debug_name_fmt, ... ) {
|
||||
ASSERT(!g_dynamic_model.model.geometries);
|
||||
|
||||
va_list argptr;
|
||||
va_start( argptr, debug_name_fmt );
|
||||
vsnprintf(g_dynamic_model.model.debug_name, sizeof(g_dynamic_model.model.debug_name), debug_name_fmt, argptr );
|
||||
va_end( argptr );
|
||||
|
||||
ASSERT(!g_dynamic_model.model.geometries);
|
||||
g_dynamic_model.model.geometries = g_dynamic_model.geometries;
|
||||
g_dynamic_model.model.num_geometries = 0;
|
||||
g_dynamic_model.model.render_mode = render_mode;
|
||||
|
|
|
@ -43,7 +43,7 @@ typedef struct {
|
|||
// Buffer holding vertex and index data
|
||||
struct {
|
||||
VkBuffer buffer; // must be the same as in vk_ray_model_create_t TODO: validate or make impossible to specify incorrectly
|
||||
uint32_t size;
|
||||
uint64_t size;
|
||||
} geometry_data;
|
||||
|
||||
float fov_angle_y;
|
||||
|
|
Loading…
Reference in New Issue