summaryrefslogtreecommitdiff
path: root/src/glx/xfont.c
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2010-07-22 22:24:00 -0400
committerKristian Høgsberg <krh@bitplanet.net>2010-07-22 22:24:00 -0400
commit7b7845a076c933e096ac511b4184141ba194449a (patch)
tree3dd59fa57af0df40f5676229fe567f3c30534bda /src/glx/xfont.c
parent31819830b66a49f1b62e09090cc65aefc657aeb8 (diff)
downloadmesa-7b7845a076c933e096ac511b4184141ba194449a.tar.gz
mesa-7b7845a076c933e096ac511b4184141ba194449a.tar.bz2
mesa-7b7845a076c933e096ac511b4184141ba194449a.zip
glx: Move WaitGL, WaitX, UseXFont to context vtable functions
Diffstat (limited to 'src/glx/xfont.c')
-rw-r--r--src/glx/xfont.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/glx/xfont.c b/src/glx/xfont.c
index 797fd7a4900..db3a5701100 100644
--- a/src/glx/xfont.c
+++ b/src/glx/xfont.c
@@ -212,9 +212,8 @@ isvalid(XFontStruct * fs, int which)
}
_X_HIDDEN void
-DRI_glXUseXFont(Font font, int first, int count, int listbase)
+DRI_glXUseXFont(GLXContext CC, Font font, int first, int count, int listbase)
{
- GLXContext CC;
Display *dpy;
Window win;
Pixmap pixmap;
@@ -231,7 +230,6 @@ DRI_glXUseXFont(Font font, int first, int count, int listbase)
int i;
- CC = __glXGetCurrentContext();
dpy = CC->currentDpy;
win = CC->currentDrawable;