diff options
author | Adam Jackson <ajax@nwnk.net> | 2004-07-30 20:30:57 +0000 |
---|---|---|
committer | Adam Jackson <ajax@nwnk.net> | 2004-07-30 20:30:57 +0000 |
commit | 48514fee3c8ec26f36e142ffc9272e510b9a4238 (patch) | |
tree | 2f0aaa0b3861f7ace00d2c1f5d0bc6a5e0ab8e93 /fb/fballpriv.c | |
parent | 29012adb37c533f57c684ad94c4d83a6c31793e5 (diff) |
Bug #400 (partial): Driver fixes for the dlloader. When using dlloader, all
framebuffer formats except cfb and the overlay modes should work, and
r128 and radeon need to be loaded from the ati driver (both issues to
be fixed soon). Tested on i740, s3virge, mach64, tdfx, vesa, and vga
drivers. elfloader users shouldn't be affected.
Diffstat (limited to 'fb/fballpriv.c')
-rw-r--r-- | fb/fballpriv.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/fb/fballpriv.c b/fb/fballpriv.c index e7fcfd45b..29e98ae9f 100644 --- a/fb/fballpriv.c +++ b/fb/fballpriv.c @@ -27,10 +27,22 @@ #ifdef FB_SCREEN_PRIVATE int fbScreenPrivateIndex; +int fbGetScreenPrivateIndex(void) +{ + return fbScreenPrivateIndex; +} #endif int fbGCPrivateIndex; +int fbGetGCPrivateIndex(void) +{ + return fbGCPrivateIndex; +} #ifndef FB_NO_WINDOW_PIXMAPS int fbWinPrivateIndex; +int fbGetWinPrivateIndex(void) +{ + return fbWinPrivateIndex; +} #endif int fbGeneration; |