projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c3481f3
)
r300g/swtcl: initialize some Draw options
author
Marek Olšák
<maraeo@gmail.com>
Wed, 4 Apr 2012 00:07:55 +0000
(
02:07
+0200)
committer
Marek Olšák
<maraeo@gmail.com>
Wed, 4 Apr 2012 02:28:41 +0000
(
04:28
+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 bf354724524caee3a1d1420829a9c063a4a26974..2cd0d5ab770527c878bb5a4ca89071c64f5ee2db 100644
(file)
--- a/
src/gallium/drivers/r300/r300_context.c
+++ b/
src/gallium/drivers/r300/r300_context.c
@@
-408,6
+408,9
@@
struct pipe_context* r300_create_context(struct pipe_screen* screen,
/* Disable converting points/lines to triangles. */
draw_wide_line_threshold(r300->draw, 10000000.f);
draw_wide_point_threshold(r300->draw, 10000000.f);
+ draw_wide_point_sprites(r300->draw, FALSE);
+ draw_enable_line_stipple(r300->draw, TRUE);
+ draw_enable_point_sprites(r300->draw, FALSE);
}
if (!r300_setup_atoms(r300))