Merge pull request #10802 from heuripedes/coz

Ozone improvement
This commit is contained in:
Autechre 2020-06-07 03:01:47 +02:00 committed by GitHub
commit eddcde84b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 5 deletions

View File

@ -1443,10 +1443,10 @@ static bool gl_glsl_set_coords(void *shader_data,
elems *= coords->vertices * sizeof(GLfloat);
buffer = (GLfloat*)malloc(elems);
}
if (!buffer)
return false;
if (!buffer)
return false;
}
if (uni->tex_coord >= 0)
{

View File

@ -574,8 +574,6 @@ border_iterate:
menu_entry_init(&entry);
entry.path_enabled = false;
entry.label_enabled = false;
menu_entry_get(&entry, 0, (unsigned)i, selection_buf, true);
menu_entry_get_value(&entry, &entry_value);
if (!node)
continue;
@ -585,6 +583,9 @@ border_iterate:
else if (y + scroll_y - node->height - 20 * scale_factor > bottom_boundary)
goto icons_iterate;
menu_entry_get(&entry, 0, (unsigned)i, selection_buf, true);
menu_entry_get_value(&entry, &entry_value);
/* Prepare text */
menu_entry_get_rich_label(&entry, &entry_rich_label);