diff options
author | Kristian Høgsberg <[email protected]> | 2010-07-22 22:24:00 -0400 |
---|---|---|
committer | Kristian Høgsberg <[email protected]> | 2010-07-22 22:24:00 -0400 |
commit | 7b7845a076c933e096ac511b4184141ba194449a (patch) | |
tree | 3dd59fa57af0df40f5676229fe567f3c30534bda /src/glx/xfont.c | |
parent | 31819830b66a49f1b62e09090cc65aefc657aeb8 (diff) |
glx: Move WaitGL, WaitX, UseXFont to context vtable functions
Diffstat (limited to 'src/glx/xfont.c')
-rw-r--r-- | src/glx/xfont.c | 4 |
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; |