projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb5a5f0
)
st/mesa: move comment for ChooseTextureFormat() to right place
author
Brian Paul
<brianp@vmware.com>
Fri, 17 Jun 2011 19:22:43 +0000
(13:22 -0600)
committer
Brian Paul
<brianp@vmware.com>
Fri, 17 Jun 2011 19:44:59 +0000
(13:44 -0600)
src/mesa/state_tracker/st_format.c
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_format.c
b/src/mesa/state_tracker/st_format.c
index 35835712547824c00fb45662ede6b1328e22c673..bd17448e6e86bd5e73e7452f9a31af00086a9e7e 100644
(file)
--- 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)