summaryrefslogtreecommitdiff
path: root/GL/glx/xfont.c
diff options
context:
space:
mode:
Diffstat (limited to 'GL/glx/xfont.c')
-rw-r--r--GL/glx/xfont.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/GL/glx/xfont.c b/GL/glx/xfont.c
index 795671534..89ff95b7c 100644
--- a/GL/glx/xfont.c
+++ b/GL/glx/xfont.c
@@ -179,7 +179,7 @@ int __glXUseXFont(__GLXclientState *cl, GLbyte *pc)
** to try to make a font during another lists construction.
*/
client->errorValue = cx->id;
- return __glXBadContextState;
+ return __glXError(GLXBadContextState);
}
/*