MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / rend_SetErrorMessage

Function rend_SetErrorMessage

legacy/renderer/renderer.cpp:2144–2147  ·  view source on GitHub ↗

Sets an error message

Source from the content-addressed store, hash-verified

2142const char *rend_GetErrorMessage() { return Renderer_error_message; }
2143// Sets an error message
2144void rend_SetErrorMessage(const char *str) {
2145 ASSERT(strlen(str) < 256);
2146 strcpy(Renderer_error_message, str);
2147}
2148// Returns 1 if there is mid video memory, 2 if there is low vid memory, or 0 if there is large vid memory
2149int rend_LowVidMem() {
2150 switch (Renderer_type) {

Callers 5

d3d_TextureCacheInitFunction · 0.70
d3d_InitFunction · 0.70
opengl_SetupFunction · 0.70
opengl_InitFunction · 0.70
rend_InitFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected