mirror of
https://github.com/nishiowo/nishbox
synced 2025-04-21 12:14:39 +00:00
fix some warnings
This commit is contained in:
parent
659f6609a1
commit
582aba07ba
@ -66,8 +66,6 @@ void gf_draw_driver_destroy_texture(gf_draw_driver_texture_t* t) {
|
||||
}
|
||||
|
||||
gf_draw_driver_t* gf_draw_driver_create(gf_engine_t* engine, gf_draw_t* draw) {
|
||||
int i;
|
||||
int w, h, ch;
|
||||
gf_draw_driver_t* draw_driver = malloc(sizeof(*draw_driver));
|
||||
memset(draw_driver, 0, sizeof(*draw_driver));
|
||||
draw_driver->engine = engine;
|
||||
|
Loading…
x
Reference in New Issue
Block a user