diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/cd.def | 1 | ||||
-rw-r--r-- | src/gdk/cdgdk.c | 5 | ||||
-rw-r--r-- | src/win32/cdwin.c | 6 | ||||
-rw-r--r-- | src/x11/cdx11.c | 5 |
4 files changed, 17 insertions, 0 deletions
@@ -24,6 +24,7 @@ EXPORTS cdGetScreenColorPlanes cdGetScreenSize cdUseContextPlus + cdBaseDriver cdinittableMF cdkillcanvasMF diff --git a/src/gdk/cdgdk.c b/src/gdk/cdgdk.c index 5a84c6e..e2bc5c0 100644 --- a/src/gdk/cdgdk.c +++ b/src/gdk/cdgdk.c @@ -2562,3 +2562,8 @@ void cdgdkInitTable(cdCanvas* canvas) if (canvas->bpp > 8) canvas->cxPutImageRectRGBA = cdputimagerectrgba; } + +int cdBaseDriver(void) +{ + return CD_BASE_GDK; +} diff --git a/src/win32/cdwin.c b/src/win32/cdwin.c index 57c07b9..3b04497 100644 --- a/src/win32/cdwin.c +++ b/src/win32/cdwin.c @@ -2364,3 +2364,9 @@ void cdwInitTable(cdCanvas* canvas) if (ctxcanvas->wtype == CDW_EMF) canvas->cxPutImageRectRGBA = cdputimagerectrgba; } + +int cdBaseDriver(void) +{ + return CD_BASE_WIN; +} + diff --git a/src/x11/cdx11.c b/src/x11/cdx11.c index 88bd184..94aae39 100644 --- a/src/x11/cdx11.c +++ b/src/x11/cdx11.c @@ -2448,3 +2448,8 @@ void cdxInitTable(cdCanvas* canvas) if (canvas->bpp > 8) canvas->cxPutImageRectRGBA = cdputimagerectrgba; } + +int cdBaseDriver(void) +{ + return CD_BASE_X; +} |