projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95ee961
)
st/mesa: fix comment language
author
Brian Paul
<brianp@vmware.com>
Wed, 27 Jul 2011 21:49:39 +0000
(15:49 -0600)
committer
Brian Paul
<brianp@vmware.com>
Thu, 28 Jul 2011 23:24:56 +0000
(17:24 -0600)
src/mesa/state_tracker/st_atom_texture.c
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_atom_texture.c
b/src/mesa/state_tracker/st_atom_texture.c
index 800a9f1f0e089c56d9945db5f9d27f60e5099721..3115a2511ce0b9ba23b342a3cb02ef13aa14978e 100644
(file)
--- 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);