Mercurial > sdl-ios-xcode
comparison src/video/x11/SDL_x11render.c @ 2894:e80f347b6d29
Added missing return
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sat, 20 Dec 2008 18:56:35 +0000 |
parents | 32e8bbba1e94 |
children | 133601e3b255 |
comparison
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 { |