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/xrender | |
parent | 0daf9f7ba7b50fea5c9764cf0dc05ad76c005716 (diff) |
New: functions cdContextIsPlus and cdContextType.
Diffstat (limited to 'src/xrender')
-rw-r--r-- | src/xrender/cdxrender.c | 6 | ||||
-rw-r--r-- | src/xrender/cdxrplus.c | 6 |
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); } |