[plugin] Remove Draw_Init from draw funcs

It's never called outside the renderers.
This commit is contained in:
Bill Currie 2021-01-10 15:22:39 +09:00
parent a35eec3877
commit e7106cce9e
6 changed files with 0 additions and 6 deletions

View File

@ -108,7 +108,6 @@ typedef struct vid_model_funcs_s {
} vid_model_funcs_t;
typedef struct vid_render_funcs_s {
void (*Draw_Init) (void);
void (*Draw_Character) (int x, int y, unsigned ch);
void (*Draw_String) (int x, int y, const char *str);
void (*Draw_nString) (int x, int y, const char *str, int count);

View File

@ -72,7 +72,6 @@ static vid_model_funcs_t model_funcs = {
};
vid_render_funcs_t gl_vid_render_funcs = {
gl_Draw_Init,
gl_Draw_Character,
gl_Draw_String,
gl_Draw_nString,

View File

@ -72,7 +72,6 @@ static vid_model_funcs_t model_funcs = {
};
vid_render_funcs_t glsl_vid_render_funcs = {
glsl_Draw_Init,
glsl_Draw_Character,
glsl_Draw_String,
glsl_Draw_nString,

View File

@ -65,7 +65,6 @@ static vid_model_funcs_t model_funcs = {
};
vid_render_funcs_t sw_vid_render_funcs = {
Draw_Init,
Draw_Character,
Draw_String,
Draw_nString,

View File

@ -70,7 +70,6 @@ static vid_model_funcs_t model_funcs = {
};
vid_render_funcs_t sw32_vid_render_funcs = {
sw32_Draw_Init,
sw32_Draw_Character,
sw32_Draw_String,
sw32_Draw_nString,

View File

@ -194,7 +194,6 @@ static vid_model_funcs_t model_funcs = {
};
vid_render_funcs_t vulkan_vid_render_funcs = {
0,//vulkan_Draw_Init,
0,//vulkan_Draw_Character,
0,//vulkan_Draw_String,
0,//vulkan_Draw_nString,