Mesa (master): mesa: remove extern from texture function

Timothy Arceri tarceri at kemper.freedesktop.org
Thu Aug 13 11:57:37 UTC 2015


Module: Mesa
Branch: master
Commit: 8dffa89e013b611cdafbb2cc5216450fa248cb7c
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8dffa89e013b611cdafbb2cc5216450fa248cb7c

Author: Timothy Arceri <t_arceri at yahoo.com.au>
Date:   Thu Aug 13 18:42:54 2015 +1000

mesa: remove extern from texture function

Reviewed-by: Tapani Pälli <tapani.palli at intel.com>

---

 src/mesa/main/teximage.c |    2 +-
 src/mesa/main/teximage.h |    9 ---------
 2 files changed, 1 insertion(+), 10 deletions(-)

diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c
index d35dc12..a144f95 100644
--- a/src/mesa/main/teximage.c
+++ b/src/mesa/main/teximage.c
@@ -5595,7 +5595,7 @@ check_multisample_target(GLuint dims, GLenum target, bool dsa)
 }
 
 
-void
+static void
 _mesa_texture_image_multisample(struct gl_context *ctx, GLuint dims,
                                 struct gl_texture_object *texObj,
                                 GLenum target, GLsizei samples,
diff --git a/src/mesa/main/teximage.h b/src/mesa/main/teximage.h
index 1eebaa8..bf729da 100644
--- a/src/mesa/main/teximage.h
+++ b/src/mesa/main/teximage.h
@@ -200,15 +200,6 @@ _mesa_copy_texture_sub_image(struct gl_context *ctx, GLuint dims,
                              const char *caller);
 
 extern void
-_mesa_texture_image_multisample(struct gl_context *ctx, GLuint dims,
-                                struct gl_texture_object *texObj,
-                                GLenum target, GLsizei samples,
-                                GLint internalformat, GLsizei width,
-                                GLsizei height, GLsizei depth,
-                                GLboolean fixedsamplelocations,
-                                GLboolean immutable, const char *func);
-
-extern void
 _mesa_texture_buffer_range(struct gl_context *ctx,
                            struct gl_texture_object *texObj,
                            GLenum internalFormat,




More information about the mesa-commit mailing list