summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2010-02-24 11:57:26 -0700
committerBrian Paul <[email protected]>2010-02-24 11:57:26 -0700
commit51b799288a405be3f4cdbfc7221221399512992a (patch)
tree2ada6d7e56c56818aa8b2e28a4947a255ab9db87 /src
parent9f6990120ace5725e16ee2dd9a59da76fe1041cc (diff)
mesa: put declaration before code
Diffstat (limited to 'src')
-rw-r--r--src/mesa/main/fbobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/fbobject.c b/src/mesa/main/fbobject.c
index 8fbe0830c7d..4ce39988127 100644
--- a/src/mesa/main/fbobject.c
+++ b/src/mesa/main/fbobject.c
@@ -1012,9 +1012,9 @@ renderbuffer_storage(GLenum target, GLenum internalFormat,
void GLAPIENTRY
_mesa_EGLImageTargetRenderbufferStorageOES (GLenum target, GLeglImageOES image)
{
+ struct gl_renderbuffer *rb;
GET_CURRENT_CONTEXT(ctx);
ASSERT_OUTSIDE_BEGIN_END(ctx);
- struct gl_renderbuffer *rb;
if (target != GL_RENDERBUFFER) {
_mesa_error(ctx, GL_INVALID_ENUM, "EGLImageTargetRenderbufferStorageOES");