src/video/x11/SDL_x11render.c
changeset 2894 e80f347b6d29
parent 2888 32e8bbba1e94
child 2901 133601e3b255
equal deleted inserted replaced
2893:e67f3f3bf221 2894:e80f347b6d29
   619     }
   619     }
   620 
   620 
   621     foreground = renderdrawcolor(renderer, 1);
   621     foreground = renderdrawcolor(renderer, 1);
   622     XSetForeground(data->display, data->gc, foreground);
   622     XSetForeground(data->display, data->gc, foreground);
   623     XDrawLine(data->display, data->drawable, data->gc, x1, y1, x2, y2);
   623     XDrawLine(data->display, data->drawable, data->gc, x1, y1, x2, y2);
   624 
   624     return 0;
   625 }
   625 }
   626 
   626 
   627 static int
   627 static int
   628 X11_RenderFill(SDL_Renderer * renderer, const SDL_Rect * rect)
   628 X11_RenderFill(SDL_Renderer * renderer, const SDL_Rect * rect)
   629 {
   629 {