Mercurial > sdl-ios-xcode
diff src/video/fbcon/SDL_fbvideo.c @ 133:5d4bafca35cd
Added support for hardware accelerated NVidia driver on framebuffer console
Still missing colorkey and alpha blit support
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 31 Jul 2001 20:08:51 +0000 |
parents | 63ec24e0575f |
children | e8157fcb3114 |
line wrap: on
line diff
--- a/src/video/fbcon/SDL_fbvideo.c Tue Jul 31 06:08:11 2001 +0000 +++ b/src/video/fbcon/SDL_fbvideo.c Tue Jul 31 20:08:51 2001 +0000 @@ -49,6 +49,8 @@ #include "SDL_fbevents_c.h" #include "SDL_fb3dfx.h" #include "SDL_fbmatrox.h" +#include "SDL_fbriva.h" + #if defined(i386) && defined(FB_TYPE_VGA_PLANES) #define VGA16_FBCON_SUPPORT @@ -505,6 +507,13 @@ #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");