aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw/nxagent/NXrender.c
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2019-09-01 21:22:17 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2019-09-29 16:57:43 +0200
commit5aee32e9d8db69fa0ce372e7b2b08696224e48ec (patch)
tree62258e6434873ca1efa8b131e393fed2b2bb84c2 /nx-X11/programs/Xserver/hw/nxagent/NXrender.c
parentc577775f9ff42b65d4f2cdb1d31cfa7073679065 (diff)
downloadnx-libs-5aee32e9d8db69fa0ce372e7b2b08696224e48ec.tar.gz
nx-libs-5aee32e9d8db69fa0ce372e7b2b08696224e48ec.tar.bz2
nx-libs-5aee32e9d8db69fa0ce372e7b2b08696224e48ec.zip
nxagent: drop nxagentRenderTrap
nxagentRenderTrap is rather old. This flag is set when internal pixmap creation returns a pixmap with depth 0. Following that the RENDER extension is effectively disabled. However: there's no code that could create a pixmap with depth 0, so let's simplify our code by removing nxagentRenderTrap altogether. Fixes ArcticaProject/nx-libs#841
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/NXrender.c')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/NXrender.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/NXrender.c b/nx-X11/programs/Xserver/hw/nxagent/NXrender.c
index 190f746a4..7456bd3a5 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/NXrender.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/NXrender.c
@@ -1665,16 +1665,6 @@ ProcRenderDispatch (ClientPtr client)
REQUEST(xReq);
- /*
- * Let the client fail if we are
- * hiding the RENDER extension.
- */
-
- if (nxagentRenderTrap)
- {
- return BadRequest;
- }
-
if (stuff->data < RenderNumberRequests)
{
#ifdef TEST
@@ -1707,16 +1697,6 @@ SProcRenderDispatch (ClientPtr client)
REQUEST(xReq);
- /*
- * Let the client fail if we are
- * hiding the RENDER extension.
- */
-
- if (nxagentRenderTrap)
- {
- return BadRequest;
- }
-
if (stuff->data < RenderNumberRequests)
{
/*