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

Function glXQueryVersion

server/faker-glx.cpp:2140–2155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2138// Hand off to the 3D X server without modification.
2139
2140Bool glXQueryVersion(Display *dpy, int *major, int *minor)
2141{
2142 TRY();
2143
2144 if(IS_EXCLUDED(dpy))
2145 return _glXQueryVersion(dpy, major, minor);
2146
2147 if(major && minor)
2148 {
2149 *major = 1; *minor = 4;
2150 return True;
2151 }
2152
2153 CATCH();
2154 return False;
2155}
2156
2157
2158// Modern GLX implementations don't seem to do anything meaningful with this

Callers 3

extensionQueryTestFunction · 0.85
QueryFBConfigFunction · 0.85
print_screen_infoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected