summaryrefslogtreecommitdiff
path: root/src/win32/cdwdbuf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/win32/cdwdbuf.c')
-rw-r--r--src/win32/cdwdbuf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/win32/cdwdbuf.c b/src/win32/cdwdbuf.c
index 9d79e9b..54dbf16 100644
--- a/src/win32/cdwdbuf.c
+++ b/src/win32/cdwdbuf.c
@@ -142,6 +142,7 @@ static cdContext cdDBufferContext =
CD_CAP_ALL & ~(CD_CAP_PLAY | CD_CAP_YAXIS |
CD_CAP_FPRIMTIVES ),
0,
+ CD_CTX_IMAGE,
cdcreatecanvas,
cdinittable,
NULL,
@@ -152,7 +153,7 @@ cdContext* cdContextDBuffer(void)
{
if (cdUseContextPlus(CD_QUERY))
{
- cdContext* ctx = cdGetContextPlus(CD_CTX_DBUFFER);
+ cdContext* ctx = cdGetContextPlus(CD_CTXPLUS_DBUFFER);
if (ctx != NULL)
return ctx;
}