Mesa (master): st/mesa: move comment for ChooseTextureFormat() to right place

Brian Paul brianp at kemper.freedesktop.org
Fri Jun 17 19:45:18 UTC 2011


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

Author: Brian Paul <brianp at vmware.com>
Date:   Fri Jun 17 13:22:43 2011 -0600

st/mesa: move comment for ChooseTextureFormat() to right place

---

 src/mesa/state_tracker/st_format.c |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/mesa/state_tracker/st_format.c b/src/mesa/state_tracker/st_format.c
index 3583571..bd17448 100644
--- a/src/mesa/state_tracker/st_format.c
+++ b/src/mesa/state_tracker/st_format.c
@@ -1188,9 +1188,6 @@ st_choose_renderbuffer_format(struct pipe_screen *screen,
 }
 
 
-/**
- * Called via ctx->Driver.chooseTextureFormat().
- */
 gl_format
 st_ChooseTextureFormat_renderable(struct gl_context *ctx, GLint internalFormat,
 				  GLenum format, GLenum type, GLboolean renderable)
@@ -1231,6 +1228,10 @@ st_ChooseTextureFormat_renderable(struct gl_context *ctx, GLint internalFormat,
    return st_pipe_format_to_mesa_format(pFormat);
 }
 
+
+/**
+ * Called via ctx->Driver.ChooseTextureFormat().
+ */
 gl_format
 st_ChooseTextureFormat(struct gl_context *ctx, GLint internalFormat,
                        GLenum format, GLenum type)




More information about the mesa-commit mailing list