From f1c9343285a0ef77214255e061c70f7b6c72bdd7 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Thu, 2 Oct 2014 12:14:12 +0200 Subject: [PATCH] (GL) Make gl_init_fbo a static function again --- gfx/gl.c | 2 +- gfx/gl_common.h | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/gfx/gl.c b/gfx/gl.c index e7bb756a37..b15333f8c3 100644 --- a/gfx/gl.c +++ b/gfx/gl.c @@ -630,7 +630,7 @@ void gl_deinit_fbo(gl_t *gl) /* Set up render to texture. */ -void gl_init_fbo(gl_t *gl, unsigned width, unsigned height) +static void gl_init_fbo(gl_t *gl, unsigned width, unsigned height) { int i; diff --git a/gfx/gl_common.h b/gfx/gl_common.h index 89ea0596bb..9f71c68985 100644 --- a/gfx/gl_common.h +++ b/gfx/gl_common.h @@ -385,8 +385,6 @@ void gl_set_viewport(gl_t *gl, unsigned width, unsigned height, void gl_shader_set_coords(gl_t *gl, const struct gl_coords *coords, const math_matrix *mat); -void gl_init_fbo(gl_t *gl, unsigned width, unsigned height); - void gl_deinit_fbo(gl_t *gl); #endif