summaryrefslogtreecommitdiff
path: root/src/xrender
diff options
context:
space:
mode:
Diffstat (limited to 'src/xrender')
-rw-r--r--src/xrender/cdxrender.c6
-rw-r--r--src/xrender/cdxrplus.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/src/xrender/cdxrender.c b/src/xrender/cdxrender.c
index 2f99da3..dfd4370 100644
--- a/src/xrender/cdxrender.c
+++ b/src/xrender/cdxrender.c
@@ -981,9 +981,9 @@ static void xrCreateContextPlus(cdCtxCanvas *ctxcanvas)
/*******************************************************************************************************/
-static cdContext cdDBufferContext = {0,0,NULL,NULL,NULL,NULL};
-static cdContext cdNativeWindowContext = {0,0,NULL,NULL,NULL,NULL};
-static cdContext cdImageContext = {0,0,NULL,NULL,NULL,NULL};
+static cdContext cdDBufferContext = {0,0,0,NULL,NULL,NULL,NULL};
+static cdContext cdNativeWindowContext = {0,0,0,NULL,NULL,NULL,NULL};
+static cdContext cdImageContext = {0,0,0,NULL,NULL,NULL,NULL};
static void (*cdcreatecanvasDBUFFER)(cdCanvas* canvas, void* data) = NULL;
static void (*cdcreatecanvasNATIVE)(cdCanvas* canvas, void* data) = NULL;
diff --git a/src/xrender/cdxrplus.c b/src/xrender/cdxrplus.c
index f938a6f..589aa3c 100644
--- a/src/xrender/cdxrplus.c
+++ b/src/xrender/cdxrplus.c
@@ -18,9 +18,9 @@ void cdInitContextPlus(void)
cdContext* ctx_list[NUM_CONTEXTPLUS];
memset(ctx_list, 0, sizeof(ctx_list));
- ctx_list[CD_CTX_NATIVEWINDOW] = cdContextNativeWindowPlus();
- ctx_list[CD_CTX_IMAGE] = cdContextImagePlus();
- ctx_list[CD_CTX_DBUFFER] = cdContextDBufferPlus();
+ ctx_list[CD_CTXPLUS_NATIVEWINDOW] = cdContextNativeWindowPlus();
+ ctx_list[CD_CTXPLUS_IMAGE] = cdContextImagePlus();
+ ctx_list[CD_CTXPLUS_DBUFFER] = cdContextDBufferPlus();
cdInitContextPlusList(ctx_list);
}