diff options
author | Eric Anholt <[email protected]> | 2013-06-20 09:41:10 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2013-06-25 19:19:20 -0700 |
commit | d7165b383da018ff666f789d555093fa3164dc73 (patch) | |
tree | 50cb0795a1cf010e8bf46346cb6f8a60b5780aa7 /src/mesa/drivers/x11 | |
parent | bab755ad1b8cc5560c7d92e21b1fb1c3bebd43ae (diff) |
mesa: Remove the Initialized field from framebuffers.
This existed to tell the core not to call GetBufferSize, except that even
if you didn't set it nothing happened because nobody had a GetBufferSize.
v2: Remove two more instances of setting the field (from Brian)
Reviewed-by: Brian Paul <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/x11')
-rw-r--r-- | src/mesa/drivers/x11/xm_api.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/drivers/x11/xm_api.c b/src/mesa/drivers/x11/xm_api.c index 6455889080d..b7c94aa4c96 100644 --- a/src/mesa/drivers/x11/xm_api.c +++ b/src/mesa/drivers/x11/xm_api.c @@ -1193,7 +1193,6 @@ xmesa_check_and_update_buffer_size(XMesaContext xmctx, XMesaBuffer drawBuffer) struct gl_context *ctx = xmctx ? &xmctx->mesa : NULL; _mesa_resize_framebuffer(ctx, &(drawBuffer->mesa_buffer), width, height); } - drawBuffer->mesa_buffer.Initialized = GL_TRUE; /* XXX TEMPORARY? */ } |