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

Function setComp

server/vglconfig.cpp:56–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54// Set functions
55
56void setComp(void)
57{
58 int i;
59
60 for(i = 0; i < RR_COMPRESSOPT; i++)
61 {
62 if(strlen(fconfig.transport) == 0 && !fconfig.transvalid[_Trans[i]])
63 compChoice->mode(i, FL_MENU_INACTIVE);
64 else compChoice->mode(i, 0);
65 if(fconfig.compress == i) compChoice->value(i);
66 }
67 if(!fconfig.transvalid[RRTRANS_XV])
68 {
69 compChoice->mode(4, FL_MENU_INACTIVE);
70 }
71}
72
73void setSamp(void)
74{

Callers 2

profCBFunction · 0.85
initFunction · 0.85

Calls 2

modeMethod · 0.45
valueMethod · 0.45

Tested by

no test coverage detected