fix minor issues
This commit is contained in:
parent
0fe9ecd436
commit
ebe7d22c6c
2 changed files with 1 additions and 3 deletions
|
@ -201,8 +201,6 @@ void set_sfx_volume(float gain)
|
|||
Mix_Volume(-1, gain * MIX_MAX_VOLUME);
|
||||
}
|
||||
|
||||
#include <assert.h>
|
||||
|
||||
void* delete_sound(void *name, void *snd, void *arg) {
|
||||
Sound *ssnd = (Sound *)snd;
|
||||
|
||||
|
|
|
@ -223,6 +223,6 @@ void* delete_model(void *name, void *model, void *arg) {
|
|||
return NULL;
|
||||
}
|
||||
|
||||
void delete_models(void) { // Does not delete elements from the VBO, so doing this at runtime is leaking VBO spac
|
||||
void delete_models(void) { // Does not delete elements from the VBO, so doing this at runtime is leaking VBO space
|
||||
resources_delete_and_unset_all(resources.models, delete_model, NULL);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue