From 64a0b5ebb41d36a7db87d24c5451f7db925e24f8 Mon Sep 17 00:00:00 2001 From: scuri Date: Fri, 18 Mar 2011 22:23:38 +0000 Subject: New: functions cdContextIsPlus and cdContextType. --- src/win32/cdwimg.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/win32/cdwimg.c') 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; } -- cgit v1.2.3