summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mesa/drivers/dri/r300/r300_context.h11
-rw-r--r--src/mesa/drivers/dri/radeon/radeon_screen.c2
2 files changed, 9 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_context.h b/src/mesa/drivers/dri/r300/r300_context.h
index cbd476bc56..278319b14f 100644
--- a/src/mesa/drivers/dri/r300/r300_context.h
+++ b/src/mesa/drivers/dri/r300/r300_context.h
@@ -48,9 +48,14 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include "radeon_context.h"
#define USE_ARB_F_P 1
-//#define USER_BUFFERS
-//#define RADEON_VTXFMT_A
-//#define HW_VBOS
+
+/* PPC doesnt support 16 bit elts ... */
+#ifndef MESA_BIG_ENDIAN
+#define USER_BUFFERS
+#define RADEON_VTXFMT_A
+#define HW_VBOS
+#endif
+
//#define OPTIMIZE_ELTS
#define CB_DPATH
diff --git a/src/mesa/drivers/dri/radeon/radeon_screen.c b/src/mesa/drivers/dri/radeon/radeon_screen.c
index e0ba164356..9cbb88f265 100644
--- a/src/mesa/drivers/dri/radeon/radeon_screen.c
+++ b/src/mesa/drivers/dri/radeon/radeon_screen.c
@@ -974,7 +974,7 @@ __driCreateNewScreen_20050727( __DRInativeDisplay *dpy,
static const char *driver_name = "R300";
static const __DRIutilversion2 ddx_expected = { 4, 5, 0, 0 };
static const __DRIversion dri_expected = { 4, 0, 0 };
- static const __DRIversion drm_expected = { 1, 22, 0 };
+ static const __DRIversion drm_expected = { 1, 24, 0 };
#endif
dri_interface = interface;