mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-09-19 20:32:15 +02:00
You know what, just remove const
This commit is contained in:
parent
1581260320
commit
30c4fe4b83
@ -1449,13 +1449,14 @@ static inline void gs_indexbuffer_flush_internal(gs_indexbuffer_t *indexbuffer,
|
||||
|
||||
void gs_indexbuffer_flush(gs_indexbuffer_t *indexbuffer)
|
||||
{
|
||||
gs_indexbuffer_flush_internal(indexbuffer, indexbuffer->indices.get());
|
||||
gs_indexbuffer_flush_internal(indexbuffer,
|
||||
(void *)indexbuffer->indices.get());
|
||||
}
|
||||
|
||||
void gs_indexbuffer_flush_direct(gs_indexbuffer_t *indexbuffer,
|
||||
const void *data)
|
||||
{
|
||||
gs_indexbuffer_flush_internal(indexbuffer, data);
|
||||
gs_indexbuffer_flush_internal(indexbuffer, (void *)data);
|
||||
}
|
||||
|
||||
void *gs_indexbuffer_get_data(const gs_indexbuffer_t *indexbuffer)
|
||||
|
Loading…
Reference in New Issue
Block a user