summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2004-06-11 22:44:55 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2004-06-11 22:44:55 +0000
commit916e749241e86fe6f2e418f38bbff770e834a020 (patch)
treebce6511cf9f17ed13490ec2ed8987d17901873d4 /src
parent8b33258d07650a9c97e0ab0828fcee2c97feafdc (diff)
s/_mesa_get_current_context()/GET_CURRENT_CONTEXT()/
Diffstat (limited to 'src')
-rw-r--r--src/mesa/main/buffers.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/buffers.c b/src/mesa/main/buffers.c
index 488125c4db..4c5c077669 100644
--- a/src/mesa/main/buffers.c
+++ b/src/mesa/main/buffers.c
@@ -439,7 +439,7 @@ _mesa_ReadBuffer( GLenum mode )
void GLAPIENTRY
_mesa_ResizeBuffersMESA( void )
{
- GLcontext *ctx = _mesa_get_current_context();
+ GET_CURRENT_CONTEXT(ctx);
if (MESA_VERBOSE & VERBOSE_API)
_mesa_debug(ctx, "glResizeBuffersMESA\n");
@@ -491,7 +491,7 @@ _mesa_ResizeBuffersMESA( void )
void GLAPIENTRY
_mesa_SampleCoverageARB(GLclampf value, GLboolean invert)
{
- GLcontext *ctx = _mesa_get_current_context();
+ GET_CURRENT_CONTEXT(ctx);
if (!ctx->Extensions.ARB_multisample) {
_mesa_error(ctx, GL_INVALID_OPERATION, "glSampleCoverageARB");