projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
llvmpipe: don't crash/assert on out of memory
[mesa.git]
/
src
/
gallium
/
drivers
/
svga
/
svga_state_rss.c
diff --git
a/src/gallium/drivers/svga/svga_state_rss.c
b/src/gallium/drivers/svga/svga_state_rss.c
index b7195d246bc87c0b41b27aeb73b6948f964d69de..ab13f3fdf19eaaf4207f6af3d8b24950691d48bd 100644
(file)
--- a/
src/gallium/drivers/svga/svga_state_rss.c
+++ b/
src/gallium/drivers/svga/svga_state_rss.c
@@
-146,13
+146,13
@@
static int emit_rss( struct svga_context *svga,
* then our definition of front face agrees with hardware.
* Otherwise need to flip.
*/
* then our definition of front face agrees with hardware.
* Otherwise need to flip.
*/
- if (rast->templ.front_
winding == PIPE_WINDING_CW
) {
- cw = 0;
- c
c
w = 1;
+ if (rast->templ.front_
ccw
) {
+ c
c
w = 0;
+ cw = 1;
}
else {
}
else {
- cw = 1;
- c
c
w = 0;
+ c
c
w = 1;
+ cw = 0;
}
/* Twoside stencil
}
/* Twoside stencil