Home
last modified time | relevance | path

Searched refs:hwHack (Results 1 – 1 of 1) sorted by relevance

/dports/games/ufoai/ufoai-2.5-source/src/client/renderer/
H A Dr_program.cpp314 const char* hwHack, *defines; in R_InitializeShader() local
320 hwHack = "#ifndef ATI\n#define ATI\n#endif\n"; in R_InitializeShader()
323 hwHack = "#ifndef INTEL\n#define INTEL\n#endif\n"; in R_InitializeShader()
326 hwHack = "#ifndef NVIDIA\n#define NVIDIA\n#endif\n"; in R_InitializeShader()
329 hwHack = "#ifndef MESA\n#define MESA\n#endif\n"; in R_InitializeShader()
332 hwHack = nullptr; in R_InitializeShader()
360 if (hwHack) { in R_InitializeShader()
361 initialChars += R_PreprocessShaderAddToShaderBuf(name, hwHack, &out, &len); in R_InitializeShader()