comparison src/video/SDL_video.c @ 4782:b6930aefd008

Finished X11 shaped-window functionality and removed ellipse+polygon rendering.
author Eli Gottlieb <eligottlieb@gmail.com>
date Wed, 30 Jun 2010 16:19:44 -0400
parents 590e680cc4e4
children 329708ffe2a7
comparison
equal deleted inserted replaced
4781:fc4c775b468a 4782:b6930aefd008
2532 } 2532 }
2533 } 2533 }
2534 return renderer->RenderFillRects(renderer, rects, count); 2534 return renderer->RenderFillRects(renderer, rects, count);
2535 } 2535 }
2536 2536
2537 int SDL_RenderDrawEllipse(const SDL_Ellipse ellipse) {
2538 return SDL_RenderDrawEllipses(&ellipse,1);
2539 }
2540
2541 int SDL_RenderDrawEllipses(const SDL_Ellipse * ellipse, int count) {
2542 return -1;
2543 }
2544
2545 int SDL_RenderFillEllipse(const SDL_Ellipse ellipse) {
2546 return SDL_RenderFillEllipses(&ellipse,1);
2547 }
2548
2549 int SDL_RenderFillEllipses(const SDL_Ellipse * ellipse, int count) {
2550 return -1;
2551 }
2552
2553 int SDL_RenderDrawPoly(const SDL_Poly poly) {
2554 return SDL_RenderDrawPolys(&poly,1);
2555 }
2556
2557 int SDL_RenderDrawPolys(const SDL_Poly *poly, int count) {
2558 return -1;
2559 }
2560
2561 int SDL_RenderFillPoly(const SDL_Poly poly) {
2562 return SDL_RenderFillPolys(&poly,1);
2563 }
2564
2565 int SDL_RenderFillPolys(const SDL_Poly *poly, int count) {
2566 return -1;
2567 }
2568
2569 int 2537 int
2570 SDL_RenderCopy(SDL_Texture * texture, const SDL_Rect * srcrect, 2538 SDL_RenderCopy(SDL_Texture * texture, const SDL_Rect * srcrect,
2571 const SDL_Rect * dstrect) 2539 const SDL_Rect * dstrect)
2572 { 2540 {
2573 SDL_Renderer *renderer; 2541 SDL_Renderer *renderer;