projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ab72a5
)
r300g/swtcl: disable converting points/lines to triangles
author
Marek Olšák
<maraeo@gmail.com>
Sat, 15 May 2010 22:06:21 +0000
(
00:06
+0200)
committer
Marek Olšák
<maraeo@gmail.com>
Sat, 15 May 2010 22:06:21 +0000
(
00:06
+0200)
src/gallium/drivers/r300/r300_context.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r300/r300_context.c
b/src/gallium/drivers/r300/r300_context.c
index c45d4b64f424ae87c32c1fd92dbe965ae9fc9235..9837deaa5e31b6a3a134403516b4b5b82ef651a8 100644
(file)
--- a/
src/gallium/drivers/r300/r300_context.c
+++ b/
src/gallium/drivers/r300/r300_context.c
@@
-214,6
+214,9
@@
struct pipe_context* r300_create_context(struct pipe_screen* screen,
draw_set_rasterize_stage(r300->draw, r300_draw_stage(r300));
/* Enable Draw's clipping. */
draw_set_driver_clipping(r300->draw, FALSE);
+ /* Disable converting points/lines to triangles. */
+ draw_wide_line_threshold(r300->draw, 10000000.f);
+ draw_wide_point_threshold(r300->draw, 10000000.f);
}
r300_setup_atoms(r300);