[Mesa-dev] [PATCH 2/3] st/mesa: make st_ChooseTextureFormat_renderable() static
Brian Paul
brianp at vmware.com
Fri Feb 1 12:11:36 PST 2013
---
src/mesa/state_tracker/st_format.c | 5 +----
src/mesa/state_tracker/st_format.h | 4 ----
2 files changed, 1 insertions(+), 8 deletions(-)
diff --git a/src/mesa/state_tracker/st_format.c b/src/mesa/state_tracker/st_format.c
index 15fe055..979da73 100644
--- a/src/mesa/state_tracker/st_format.c
+++ b/src/mesa/state_tracker/st_format.c
@@ -1586,7 +1586,7 @@ st_choose_renderbuffer_format(struct pipe_screen *screen,
}
-gl_format
+static gl_format
st_ChooseTextureFormat_renderable(struct gl_context *ctx, GLint internalFormat,
GLenum format, GLenum type, GLboolean renderable)
{
@@ -1594,9 +1594,6 @@ st_ChooseTextureFormat_renderable(struct gl_context *ctx, GLint internalFormat,
enum pipe_format pFormat;
uint bindings;
- (void) format;
- (void) type;
-
/* GL textures may wind up being render targets, but we don't know
* that in advance. Specify potential render target flags now.
*/
diff --git a/src/mesa/state_tracker/st_format.h b/src/mesa/state_tracker/st_format.h
index eac3cfb..50588d8 100644
--- a/src/mesa/state_tracker/st_format.h
+++ b/src/mesa/state_tracker/st_format.h
@@ -58,10 +58,6 @@ st_choose_renderbuffer_format(struct pipe_screen *screen,
GLenum internalFormat, unsigned sample_count);
-gl_format
-st_ChooseTextureFormat_renderable(struct gl_context *ctx, GLint internalFormat,
- GLenum format, GLenum type, GLboolean renderable);
-
extern gl_format
st_ChooseTextureFormat(struct gl_context * ctx, GLenum target,
GLint internalFormat,
--
1.7.3.4
More information about the mesa-dev
mailing list