Skip to content

Commit

Permalink
Buildfixes for Win32
Browse files Browse the repository at this point in the history
  • Loading branch information
inactive123 committed Nov 14, 2017
1 parent 229841b commit b50a667
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 2 additions & 0 deletions gfx/drivers/gl.c
Original file line number Diff line number Diff line change
Expand Up @@ -2529,6 +2529,8 @@ static void gl_unload_texture(void *data, uintptr_t id)
}

static const video_poke_interface_t gl_poke_interface = {
NULL, /* set_coords */
NULL, /* set_mvp */
gl_load_texture,
gl_unload_texture,
gl_set_video_mode,
Expand Down
2 changes: 1 addition & 1 deletion gfx/video_driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -2483,7 +2483,7 @@ static bool video_driver_cb_set_coords(void *handle_data,
}
#endif

bool video_driver_set_coords_fallback(void *handle_data,
static bool video_driver_set_coords_fallback(void *handle_data,
void *shader_data, const struct video_coords *coords)
{
#ifdef HAVE_OPENGL
Expand Down
3 changes: 0 additions & 3 deletions gfx/video_driver.h
Original file line number Diff line number Diff line change
Expand Up @@ -1304,9 +1304,6 @@ bool renderchain_gl_init_first(
const gl_renderchain_driver_t **renderchain_driver,
void **renderchain_handle);

bool video_driver_set_coords_fallback(void *handle_data,
void *shader_data, const struct video_coords *coords);

extern bool (*video_driver_cb_has_focus)(void);

extern shader_backend_t *current_shader;
Expand Down

0 comments on commit b50a667

Please sign in to comment.