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/cdwprn.c | |
parent | 0daf9f7ba7b50fea5c9764cf0dc05ad76c005716 (diff) |
New: functions cdContextIsPlus and cdContextType.
Diffstat (limited to 'src/win32/cdwprn.c')
-rw-r--r-- | src/win32/cdwprn.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/win32/cdwprn.c b/src/win32/cdwprn.c index 1b3e1e0..1ffcd03 100644 --- a/src/win32/cdwprn.c +++ b/src/win32/cdwprn.c @@ -186,6 +186,7 @@ static cdContext cdPrinterContext = CD_CAP_IMAGERGBA | CD_CAP_GETIMAGERGB | CD_CAP_IMAGESRV | CD_CAP_FPRIMTIVES ), 0, + CD_CTX_DEVICE, cdcreatecanvas, cdinittable, NULL, @@ -196,7 +197,7 @@ cdContext* cdContextPrinter(void) { if (cdUseContextPlus(CD_QUERY)) { - cdContext* ctx = cdGetContextPlus(CD_CTX_PRINTER); + cdContext* ctx = cdGetContextPlus(CD_CTXPLUS_PRINTER); if (ctx != NULL) return ctx; } |