From 0549414af010737828696592acec9b263cd0513a Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Sat, 12 Jun 2010 19:15:14 +0200 Subject: MesaLib: enable for lemote No render support for siliconmotion, so use swraster driver. Also the obligatory SAREA fix is needed here. --- package/MesaLib/patches/patch-include_GL_internal_sarea_h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 package/MesaLib/patches/patch-include_GL_internal_sarea_h (limited to 'package/MesaLib/patches') diff --git a/package/MesaLib/patches/patch-include_GL_internal_sarea_h b/package/MesaLib/patches/patch-include_GL_internal_sarea_h new file mode 100644 index 000000000..7de643397 --- /dev/null +++ b/package/MesaLib/patches/patch-include_GL_internal_sarea_h @@ -0,0 +1,12 @@ + fix for loongson +--- Mesa-7.8.1.orig/include/GL/internal/sarea.h 2010-02-05 01:10:39.000000000 +0100 ++++ Mesa-7.8.1/include/GL/internal/sarea.h 2010-06-12 19:13:41.417809541 +0200 +@@ -42,6 +42,8 @@ + /* SAREA area needs to be at least a page */ + #if defined(__alpha__) + #define SAREA_MAX 0x2000 ++#elif defined(__mips__) ++#define SAREA_MAX 0x4000 + #elif defined(__ia64__) + #define SAREA_MAX 0x10000 /* 64kB */ + #else -- cgit v1.2.3