st/mesa: move comment for ChooseTextureFormat() to right place
authorBrian Paul <brianp@vmware.com>
Fri, 17 Jun 2011 19:22:43 +0000 (13:22 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 17 Jun 2011 19:44:59 +0000 (13:44 -0600)
src/mesa/state_tracker/st_format.c

index 35835712547824c00fb45662ede6b1328e22c673..bd17448e6e86bd5e73e7452f9a31af00086a9e7e 100644 (file)
@@ -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)