projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b990c8
)
swrast: fix 16-bit/channel rendering
author
Brian Paul
<brianp@vmware.com>
Mon, 10 May 2010 04:08:54 +0000
(22:08 -0600)
committer
Brian Paul
<brianp@vmware.com>
Mon, 10 May 2010 04:08:56 +0000
(22:08 -0600)
NOTE: This is a candidate for the 7.8 stable branch
src/mesa/swrast_setup/ss_context.c
patch
|
blob
|
history
diff --git
a/src/mesa/swrast_setup/ss_context.c
b/src/mesa/swrast_setup/ss_context.c
index ebd1574c43e2298b19fe3be2ca7c8598c7b84b8b..0fcb7c77af0a2aa89c79b4cf084ab5803a0ae7fc 100644
(file)
--- a/
src/mesa/swrast_setup/ss_context.c
+++ b/
src/mesa/swrast_setup/ss_context.c
@@
-115,7
+115,7
@@
setup_vertex_format(GLcontext *ctx)
GLboolean intColors = !ctx->FragmentProgram._Current
&& !ctx->ATIFragmentShader._Enabled
&& ctx->RenderMode == GL_RENDER
- && CHAN_TYPE
== GL_UNSIGNED_BYTE
;
+ && CHAN_TYPE
!= GL_FLOAT
;
if (intColors != swsetup->intColors ||
!RENDERINPUTS_EQUAL(tnl->render_inputs_bitset,