summaryrefslogtreecommitdiff
path: root/src/win32/cdwimg.c
diff options
context:
space:
mode:
authorscuri <scuri>2011-03-18 22:23:38 +0000
committerscuri <scuri>2011-03-18 22:23:38 +0000
commit64a0b5ebb41d36a7db87d24c5451f7db925e24f8 (patch)
treef377bae28d0cae28aa0f9ea32442bee56e1f6135 /src/win32/cdwimg.c
parent0daf9f7ba7b50fea5c9764cf0dc05ad76c005716 (diff)
New: functions cdContextIsPlus and cdContextType.
Diffstat (limited to 'src/win32/cdwimg.c')
-rw-r--r--src/win32/cdwimg.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/win32/cdwimg.c b/src/win32/cdwimg.c
index 47d99f9..294a8d7 100644
--- a/src/win32/cdwimg.c
+++ b/src/win32/cdwimg.c
@@ -64,6 +64,7 @@ static cdContext cdImageContext =
CD_CAP_ALL & ~(CD_CAP_PLAY | CD_CAP_YAXIS |
CD_CAP_FPRIMTIVES ),
0,
+ CD_CTX_IMAGE,
cdcreatecanvas,
cdinittable,
NULL,
@@ -74,7 +75,7 @@ cdContext* cdContextImage(void)
{
if (cdUseContextPlus(CD_QUERY))
{
- cdContext* ctx = cdGetContextPlus(CD_CTX_IMAGE);
+ cdContext* ctx = cdGetContextPlus(CD_CTXPLUS_IMAGE);
if (ctx != NULL)
return ctx;
}