summaryrefslogtreecommitdiffstats
path: root/src/mesa/tnl/t_save_loopback.c
diff options
context:
space:
mode:
authorAdam Jackson <[email protected]>2004-10-24 02:05:40 +0000
committerAdam Jackson <[email protected]>2004-10-24 02:05:40 +0000
commit94987beb2c9e87d9c55db5cb7c089dc77f78df94 (patch)
tree714d8c344090c992e6a55658bc14ef4d585761ac /src/mesa/tnl/t_save_loopback.c
parent07553c58fd068a0e1b43e564fba1baffa6ea222d (diff)
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.
Diffstat (limited to 'src/mesa/tnl/t_save_loopback.c')
-rw-r--r--src/mesa/tnl/t_save_loopback.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/tnl/t_save_loopback.c b/src/mesa/tnl/t_save_loopback.c
index 18ecc3514fa..2e752c809a0 100644
--- a/src/mesa/tnl/t_save_loopback.c
+++ b/src/mesa/tnl/t_save_loopback.c
@@ -196,7 +196,7 @@ static void loopback_prim( GLcontext *ctx,
GLuint k;
if (prim->mode & PRIM_BEGIN) {
- glBegin( prim->mode & PRIM_MODE_MASK );
+ GL_CALL(Begin)( prim->mode & PRIM_MODE_MASK );
}
else {
assert(i == 0);
@@ -221,7 +221,7 @@ static void loopback_prim( GLcontext *ctx,
}
if (prim->mode & PRIM_END) {
- glEnd();
+ GL_CALL(End)();
}
else {
assert (i == list->prim_count-1);