summaryrefslogtreecommitdiff
path: root/libre/sdl-libre/no-riva-accel.patch
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2011-09-08 17:37:08 +0200
committerMichał Masłowski <mtjm@mtjm.eu>2011-09-08 17:37:08 +0200
commit7906b24bf08c82fbbb61fc43221e79c3052d66e6 (patch)
treef6718645361e7f72176e0056e9f2909a22f20db5 /libre/sdl-libre/no-riva-accel.patch
parent00592929fa729aadb084d4e59c3658ea76e31ea2 (diff)
Don't use removed code in sdl-libre.
Diffstat (limited to 'libre/sdl-libre/no-riva-accel.patch')
-rw-r--r--libre/sdl-libre/no-riva-accel.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/libre/sdl-libre/no-riva-accel.patch b/libre/sdl-libre/no-riva-accel.patch
new file mode 100644
index 000000000..89f8ebeed
--- /dev/null
+++ b/libre/sdl-libre/no-riva-accel.patch
@@ -0,0 +1,24 @@
+--- src/video/fbcon/SDL_fbvideo.c.orig 2011-09-08 17:30:03.670583685 +0200
++++ src/video/fbcon/SDL_fbvideo.c 2011-09-08 17:30:24.230582737 +0200
+@@ -46,7 +46,6 @@
+ #include "SDL_fbevents_c.h"
+ #include "SDL_fb3dfx.h"
+ #include "SDL_fbmatrox.h"
+-#include "SDL_fbriva.h"
+
+ /*#define FBCON_DEBUG*/
+
+@@ -769,13 +768,6 @@
+ #endif
+ FB_3DfxAccel(this, finfo.accel);
+ break;
+- case FB_ACCEL_NV3:
+- case FB_ACCEL_NV4:
+-#ifdef FBACCEL_DEBUG
+- printf("NVidia hardware accelerator!\n");
+-#endif
+- FB_RivaAccel(this, finfo.accel);
+- break;
+ default:
+ #ifdef FBACCEL_DEBUG
+ printf("Unknown hardware accelerator.\n");