diff src/video/x11/SDL_x11sym.h @ 3543:c2154674c0c1

Fixed X11 line implementation - clip lines that are going to go outside the window.
author Sam Lantinga <slouken@libsdl.org>
date Fri, 11 Dec 2009 09:59:36 +0000
parents a1896642a47e
children 5f26a7eb5ff0
line wrap: on
line diff
--- a/src/video/x11/SDL_x11sym.h	Fri Dec 11 09:57:54 2009 +0000
+++ b/src/video/x11/SDL_x11sym.h	Fri Dec 11 09:59:36 2009 +0000
@@ -95,6 +95,7 @@
 SDL_X11_SYM(int,XPending,(Display* a),(a),return)
 SDL_X11_SYM(int,XPutImage,(Display* a,Drawable b,GC c,XImage* d,int e,int f,int g,int h,unsigned int i,unsigned int j),(a,b,c,d,e,f,g,h,i,j),return)
 SDL_X11_SYM(int,XDrawLines,(Display* a, Drawable b, GC c, XPoint* d, int e, int f),(a,b,c,d,e,f),return)
+SDL_X11_SYM(int,XDrawPoint,(Display* a, Drawable b, GC c, int d, int e),(a,b,c,d,e),return)
 SDL_X11_SYM(int,XDrawPoints,(Display* a, Drawable b, GC c, XPoint* d, int e, int f),(a,b,c,d,e,f),return)
 SDL_X11_SYM(int,XQueryColors,(Display* a,Colormap b,XColor* c,int d),(a,b,c,d),return)
 SDL_X11_SYM(int,XQueryKeymap,(Display* a,char *b),(a,b),return)