mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
s/_mesa_get_current_context()/GET_CURRENT_CONTEXT()/
This commit is contained in:
parent
8b33258d07
commit
916e749241
1 changed files with 2 additions and 2 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue