From 94987beb2c9e87d9c55db5cb7c089dc77f78df94 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Sun, 24 Oct 2004 02:05:40 +0000 Subject: Bug #1682: Mesa core code that gets linked into DRI drivers should never call through the GL API directly, but should instead use the GL_CALL macro. --- src/mesa/main/dlist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/main/dlist.c') diff --git a/src/mesa/main/dlist.c b/src/mesa/main/dlist.c index ef2dada710..9f4b9119a7 100644 --- a/src/mesa/main/dlist.c +++ b/src/mesa/main/dlist.c @@ -7694,7 +7694,7 @@ static void GLAPIENTRY print_list( GLcontext *ctx, GLuint list ) Node *n; GLboolean done; - if (!glIsList(list)) { + if (!GL_CALL(IsList)(list)) { _mesa_printf("%u is not a display list ID\n", list); return; } -- cgit v1.2.3