X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=render.h;h=742eaecc519f408a9eed8514b316f46533fce00c;hb=fb52dfb48cce4eb85fd934852ecb2eab8ee58120;hp=538ab505f60a49024ade81b31756740bd4fbaf24;hpb=15401d0a14c409b7dd75e88c603048c797fa2232;p=xonotic%2Fdarkplaces.git diff --git a/render.h b/render.h index 538ab505..742eaecc 100644 --- a/render.h +++ b/render.h @@ -195,8 +195,8 @@ r_bufferdata_type_t; void R_BufferData_Reset(void); /// begin a new frame (recycle old buffers) void R_BufferData_NewFrame(void); -/// request space in a vertex/index/uniform buffer for the chosen data, returns the buffer pointer and offset, if allowfail is true it may return NULL if the growth limit has been reached, false will cause it to allocate additional memory despite this (warning: may run out of memory) -r_meshbuffer_t *R_BufferData_Store(size_t size, void *data, r_bufferdata_type_t type, int *returnbufferoffset, qboolean allowfail); +/// request space in a vertex/index/uniform buffer for the chosen data, returns the buffer pointer and offset, always successful +r_meshbuffer_t *R_BufferData_Store(size_t size, void *data, r_bufferdata_type_t type, int *returnbufferoffset); /// free all R_AnimCache memory void R_AnimCache_Free(void);