diff options
author | scuri <scuri> | 2011-03-18 22:23:38 +0000 |
---|---|---|
committer | scuri <scuri> | 2011-03-18 22:23:38 +0000 |
commit | 64a0b5ebb41d36a7db87d24c5451f7db925e24f8 (patch) | |
tree | f377bae28d0cae28aa0f9ea32442bee56e1f6135 /src/win32/cdwemf.c | |
parent | 0daf9f7ba7b50fea5c9764cf0dc05ad76c005716 (diff) |
New: functions cdContextIsPlus and cdContextType.
Diffstat (limited to 'src/win32/cdwemf.c')
-rw-r--r-- | src/win32/cdwemf.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/win32/cdwemf.c b/src/win32/cdwemf.c index ad037c9..3932c36 100644 --- a/src/win32/cdwemf.c +++ b/src/win32/cdwemf.c @@ -98,6 +98,7 @@ static cdContext cdEMFContext = CD_CAP_IMAGERGBA | CD_CAP_GETIMAGERGB | CD_CAP_IMAGESRV | CD_CAP_FPRIMTIVES ), 0, + CD_CTX_FILE, cdcreatecanvas, cdinittable, cdplayEMF, @@ -108,7 +109,7 @@ cdContext* cdContextEMF(void) { if (cdUseContextPlus(CD_QUERY)) { - cdContext* ctx = cdGetContextPlus(CD_CTX_EMF); + cdContext* ctx = cdGetContextPlus(CD_CTXPLUS_EMF); if (ctx != NULL) return ctx; } |