projects
/
profile
/
ivi
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b33258
)
s/_mesa_get_current_context()/GET_CURRENT_CONTEXT()/
author
Brian Paul
<brian.paul@tungstengraphics.com>
Fri, 11 Jun 2004 22:44:55 +0000
(22:44 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Fri, 11 Jun 2004 22:44:55 +0000
(22:44 +0000)
src/mesa/main/buffers.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/buffers.c
b/src/mesa/main/buffers.c
index
488125c
..
4c5c077
100644
(file)
--- 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 )
{
- G
Lcontext *ctx = _mesa_get_current_context(
);
+ G
ET_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)
{
- G
Lcontext *ctx = _mesa_get_current_context(
);
+ G
ET_CURRENT_CONTEXT(ctx
);
if (!ctx->Extensions.ARB_multisample) {
_mesa_error(ctx, GL_INVALID_OPERATION, "glSampleCoverageARB");