summaryrefslogtreecommitdiff
path: root/render/render.c
diff options
context:
space:
mode:
Diffstat (limited to 'render/render.c')
-rw-r--r--render/render.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/render/render.c b/render/render.c
index b777991d0..b9a932ee3 100644
--- a/render/render.c
+++ b/render/render.c
@@ -219,17 +219,6 @@ typedef struct _RenderClient {
#define GetRenderClient(pClient) ((RenderClientPtr)dixLookupPrivate(&(pClient)->devPrivates, RenderClientPrivateKey))
-static void
-RenderClientCallback(CallbackListPtr *list, void *closure, void *data)
-{
- NewClientInfoRec *clientinfo = (NewClientInfoRec *) data;
- ClientPtr pClient = clientinfo->client;
- RenderClientPtr pRenderClient = GetRenderClient(pClient);
-
- pRenderClient->major_version = 0;
- pRenderClient->minor_version = 0;
-}
-
#ifdef PANORAMIX
RESTYPE XRT_PICTURE;
#endif
@@ -246,8 +235,6 @@ RenderExtensionInit(void)
if (!dixRegisterPrivateKey
(&RenderClientPrivateKeyRec, PRIVATE_CLIENT, sizeof(RenderClientRec)))
return;
- if (!AddCallback(&ClientStateCallback, RenderClientCallback, 0))
- return;
extEntry = AddExtension(RENDER_NAME, 0, RenderNumberErrors,
ProcRenderDispatch, SProcRenderDispatch,