MCPcopy Create free account
hub / github.com/RavEngine/RavEngine / SDL_SetRenderDrawColor

Function SDL_SetRenderDrawColor

deps/SDL2/src/render/SDL_render.c:2197–2208  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2195}
2196
2197int
2198SDL_SetRenderDrawColor(SDL_Renderer * renderer,
2199 Uint8 r, Uint8 g, Uint8 b, Uint8 a)
2200{
2201 CHECK_RENDERER_MAGIC(renderer, -1);
2202
2203 renderer->r = r;
2204 renderer->g = g;
2205 renderer->b = b;
2206 renderer->a = a;
2207 return 0;
2208}
2209
2210int
2211SDL_GetRenderDrawColor(SDL_Renderer * renderer,

Callers 15

renderFunction · 0.85
renderFunction · 0.85
drawFunction · 0.85
renderFunction · 0.85
mainFunction · 0.85
renderFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
loopFunction · 0.85
mainFunction · 0.85
MoveSpritesFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by 15

mainFunction · 0.68
loopFunction · 0.68
mainFunction · 0.68
MoveSpritesFunction · 0.68
mainFunction · 0.68
mainFunction · 0.68
DrawPointsFunction · 0.68
DrawLinesFunction · 0.68
DrawRectsFunction · 0.68
loopFunction · 0.68