Changeset View
Changeset View
Standalone View
Standalone View
source/blender/gpu/intern/gpu_vertex_buffer.c
| Context not available. | |||||
| /* Set vertex count but does not change allocation. | /* Set vertex count but does not change allocation. | ||||
| * Only this many verts will be uploaded to the GPU and rendered. | * Only this many verts will be uploaded to the GPU and rendered. | ||||
| * This is usefull for streaming data. */ | * This is useful for streaming data. */ | ||||
| void GPU_vertbuf_vertex_count_set(GPUVertBuf *verts, uint v_len) | void GPU_vertbuf_vertex_count_set(GPUVertBuf *verts, uint v_len) | ||||
| { | { | ||||
| #if TRUST_NO_ONE | #if TRUST_NO_ONE | ||||
| Context not available. | |||||