Corrected separation

master
vurtun 2018-05-14 15:41:16 +02:00
parent ae845fcb0b
commit b1209dbb2e
2 changed files with 2 additions and 2 deletions

View File

@ -9358,7 +9358,7 @@ nk_draw_list_alloc_vertices(struct nk_draw_list *list, nk_size count)
* instead of specifing `GL_UNSIGNED_SHORT` you have to define `GL_UNSIGNED_INT`.
* Sorry for the inconvenience. */
NK_ASSERT((sizeof(nk_draw_index) == 2 && list->vertex_count < NK_USHORT_MAX &&
"To many verticies for 16-bit vertex indicies. Please read comment above on how to solve this problem");
"To many verticies for 16-bit vertex indicies. Please read comment above on how to solve this problem"));
return vtx;
}
NK_INTERN nk_draw_index*

View File

@ -234,7 +234,7 @@ nk_draw_list_alloc_vertices(struct nk_draw_list *list, nk_size count)
* instead of specifing `GL_UNSIGNED_SHORT` you have to define `GL_UNSIGNED_INT`.
* Sorry for the inconvenience. */
NK_ASSERT((sizeof(nk_draw_index) == 2 && list->vertex_count < NK_USHORT_MAX &&
"To many verticies for 16-bit vertex indicies. Please read comment above on how to solve this problem");
"To many verticies for 16-bit vertex indicies. Please read comment above on how to solve this problem"));
return vtx;
}
NK_INTERN nk_draw_index*