summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2010-02-24 14:00:30 -0800
committerVinson Lee <vlee@vmware.com>2010-02-24 14:00:30 -0800
commit17efc8c05c6931a4638ee9f6138794f2b2b29540 (patch)
treeb6cad6190d4f6c4e14bbd48587652090eefb7ed2
parentf393d95ff2de0a87d188099f97bf6cc781ae9e54 (diff)
mesa: Fix SCons build.
-rw-r--r--src/mesa/main/teximage.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c
index 40ebff76c6..d72e91b3a3 100644
--- a/src/mesa/main/teximage.c
+++ b/src/mesa/main/teximage.c
@@ -2452,10 +2452,10 @@ _mesa_TexImage3DEXT( GLenum target, GLint level, GLenum internalFormat,
void GLAPIENTRY
_mesa_EGLImageTargetTexture2DOES (GLenum target, GLeglImageOES image)
{
- GET_CURRENT_CONTEXT(ctx);
- ASSERT_OUTSIDE_BEGIN_END_AND_FLUSH(ctx);
struct gl_texture_object *texObj;
struct gl_texture_image *texImage;
+ GET_CURRENT_CONTEXT(ctx);
+ ASSERT_OUTSIDE_BEGIN_END_AND_FLUSH(ctx);
if (target != GL_TEXTURE_2D) {
_mesa_error(ctx, GL_INVALID_ENUM,