Mesa (master): st/mesa: fix comment language
Brian Paul
brianp at kemper.freedesktop.org
Thu Jul 28 23:38:35 UTC 2011
Module: Mesa
Branch: master
Commit: 58d6aa82878fc901d4dadd39e308a5d88b064997
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=58d6aa82878fc901d4dadd39e308a5d88b064997
Author: Brian Paul <brianp at vmware.com>
Date: Wed Jul 27 15:49:39 2011 -0600
st/mesa: fix comment language
---
src/mesa/state_tracker/st_atom_texture.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/mesa/state_tracker/st_atom_texture.c b/src/mesa/state_tracker/st_atom_texture.c
index 800a9f1..3115a25 100644
--- a/src/mesa/state_tracker/st_atom_texture.c
+++ b/src/mesa/state_tracker/st_atom_texture.c
@@ -221,9 +221,9 @@ update_single_texture(struct st_context *st, struct pipe_sampler_view **sampler_
if ((samp->sRGBDecode == GL_SKIP_DECODE_EXT) &&
(_mesa_get_format_color_encoding(texFormat) == GL_SRGB)) {
- /* don't do sRGB->RGB conversion. Interpret the texture
- * texture data as linear values.
- */
+ /* Don't do sRGB->RGB conversion. Interpret the texture data as
+ * linear values.
+ */
const gl_format linearFormat =
_mesa_get_srgb_format_linear(texFormat);
firstImageFormat = st_mesa_format_to_pipe_format(linearFormat);
More information about the mesa-commit
mailing list