| 2421 | } |
| 2422 | |
| 2423 | int |
| 2424 | SDL_RenderDrawLine(SDL_Renderer * renderer, int x1, int y1, int x2, int y2) |
| 2425 | { |
| 2426 | SDL_FPoint points[2]; |
| 2427 | points[0].x = (float) x1; |
| 2428 | points[0].y = (float) y1; |
| 2429 | points[1].x = (float) x2; |
| 2430 | points[1].y = (float) y2; |
| 2431 | return SDL_RenderDrawLinesF(renderer, points, 2); |
| 2432 | } |
| 2433 | |
| 2434 | int |
| 2435 | SDL_RenderDrawLineF(SDL_Renderer * renderer, float x1, float y1, float x2, float y2) |