projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7aafcc8
)
Modified hw state for big endian computers.
author
Jerome Glisse
<glisse@freedesktop.org>
Sat, 5 Feb 2005 18:01:21 +0000
(18:01 +0000)
committer
Jerome Glisse
<glisse@freedesktop.org>
Sat, 5 Feb 2005 18:01:21 +0000
(18:01 +0000)
src/mesa/drivers/dri/r300/r300_state.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/r300/r300_state.c
b/src/mesa/drivers/dri/r300/r300_state.c
index 1360701871309aa4a7faeddcc55456b45a39a74e..da1f1e926a1ca19f57e7bdd159f74cc272e8f560 100644
(file)
--- a/
src/mesa/drivers/dri/r300/r300_state.c
+++ b/
src/mesa/drivers/dri/r300/r300_state.c
@@
-1689,8
+1689,11
@@
void r300ResetHwState(r300ContextPtr r300)
r300->hw.unk2134.cmd[1] = 0x00FFFFFF;
r300->hw.unk2134.cmd[2] = 0x00000000;
-
+#ifdef MESA_BIG_ENDIAN
+ r300->hw.unk2140.cmd[1] = 0x00000002;
+#elif
r300->hw.unk2140.cmd[1] = 0x00000000;
+#endif
#if 0 /* Done in setup routing */
((drm_r300_cmd_header_t*)r300->hw.vir[0].cmd)->unchecked_state.count = 1;