summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorscuri <scuri>2009-12-16 14:12:34 +0000
committerscuri <scuri>2009-12-16 14:12:34 +0000
commit3e43f28ac126aef08e56c67545d1fbe3f6f96eff (patch)
tree41cae5cea1ae84b9a15ef953c4ab018ae3c2223e /src
parentd16f00afbbac707bba729eb3874fac4c52273a91 (diff)
*** empty log message ***
Diffstat (limited to 'src')
-rw-r--r--src/cd.def1
-rw-r--r--src/gdk/cdgdk.c5
-rw-r--r--src/win32/cdwin.c6
-rw-r--r--src/x11/cdx11.c5
4 files changed, 17 insertions, 0 deletions
diff --git a/src/cd.def b/src/cd.def
index 754ed69..c087d9d 100644
--- a/src/cd.def
+++ b/src/cd.def
@@ -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;
+}