this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request #88 from RobLoach/sdl1-sdl-color

Fix use of SDL_Color in SDL1

authored by

Jonathan Dearborn and committed by
GitHub
588f22f4 4bd208f0

+1 -1
+1 -1
src/renderer_GL_common.inl
··· 4988 4988 else 4989 4989 { 4990 4990 SDL_Color color = get_complete_mod_color(renderer, target, image); 4991 - float default_color[4] = {color.r/255.0f, color.g/255.0f, color.b/255.0f, color.a/255.0f}; 4991 + float default_color[4] = {color.r/255.0f, color.g/255.0f, color.b/255.0f, GET_ALPHA(color)/255.0f}; 4992 4992 SetAttributefv(renderer, context->current_shader_block.color_loc, 4, default_color); 4993 4993 } 4994 4994 }