diff options
author | Jerome Glisse <[email protected]> | 2005-02-05 18:01:21 +0000 |
---|---|---|
committer | Jerome Glisse <[email protected]> | 2005-02-05 18:01:21 +0000 |
commit | f955218bf165905ac0f75dad64b7f58085aef51f (patch) | |
tree | 161fb2b4ca9731151cac2e1eb1979513e31a3bc3 | |
parent | 7aafcc86c74a68206f4f48ca99c12faf469d47e0 (diff) |
Modified hw state for big endian computers.
-rw-r--r-- | src/mesa/drivers/dri/r300/r300_state.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_state.c b/src/mesa/drivers/dri/r300/r300_state.c index 13607018713..da1f1e926a1 100644 --- 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; |