projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ed65f4
)
r300g: Drop unnecessary cast
author
nobled
<nobled@dreamwidth.org>
Thu, 2 Dec 2010 21:48:40 +0000
(21:48 +0000)
committer
Marek Olšák
<maraeo@gmail.com>
Thu, 2 Dec 2010 23:50:58 +0000
(
00:50
+0100)
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 9589a491b81db7504b2c0fda045b588fb65f9ecc..3b46f9934f2ceb930f5cfa2df9288a5f0d76301d 100644
(file)
--- a/
src/gallium/drivers/r300/r300_context.c
+++ b/
src/gallium/drivers/r300/r300_context.c
@@
-328,7
+328,7
@@
static void r300_init_states(struct pipe_context *pipe)
pipe->set_scissor_state(pipe, &ss);
/* Initialize the clip state. */
- if (r300
_context(pipe)
->screen->caps.has_tcl) {
+ if (r300->screen->caps.has_tcl) {
pipe->set_clip_state(pipe, &cs);
} else {
BEGIN_CB(clip->cb, 2);