MCPcopy Create free account
hub / github.com/VirtualGL/virtualgl / xhandler

Function xhandler

server/faker.cpp:117–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115// Used when VGL_TRAPX11=1
116
117int xhandler(Display *dpy, XErrorEvent *xe)
118{
119 char temps[256];
120
121 temps[0] = 0;
122 XGetErrorText(dpy, xe->error_code, temps, 255);
123 vglout.PRINT("[VGL] WARNING: X11 error trapped\n[VGL] Error: %s\n[VGL] XID: 0x%.8x\n",
124 temps, xe->resourceid);
125 return 0;
126}
127
128
129void sendGLXError(Display *dpy, CARD16 minorCode, CARD8 errorCode,

Callers

nothing calls this directly

Calls 1

PRINTMethod · 0.80

Tested by

no test coverage detected