comparison src/video/x11/SDL_x11render.c @ 2888:32e8bbba1e94

Added stubs for software implementations of blending fills and line drawing
author Sam Lantinga <slouken@libsdl.org>
date Sat, 20 Dec 2008 13:14:28 +0000
parents 9dde605c7540
children e80f347b6d29
comparison
equal deleted inserted replaced
2887:f8c0c5ef6d54 2888:32e8bbba1e94
595 static int 595 static int
596 X11_RenderLine(SDL_Renderer * renderer, int x1, int y1, int x2, int y2) 596 X11_RenderLine(SDL_Renderer * renderer, int x1, int y1, int x2, int y2)
597 { 597 {
598 X11_RenderData *data = (X11_RenderData *) renderer->driverdata; 598 X11_RenderData *data = (X11_RenderData *) renderer->driverdata;
599 unsigned long foreground; 599 unsigned long foreground;
600
600 if (data->makedirty) { 601 if (data->makedirty) {
601 SDL_Rect rect; 602 SDL_Rect rect;
602 603
603 if (x1 < x2) { 604 if (x1 < x2) {
604 rect.x = x1; 605 rect.x = x1;