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/osmesa/osmesa.c | |
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/osmesa/osmesa.c')
-rw-r--r-- | src/mesa/drivers/osmesa/osmesa.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/drivers/osmesa/osmesa.c b/src/mesa/drivers/osmesa/osmesa.c index 241e74f778c..deb0b9364fa 100644 --- a/src/mesa/drivers/osmesa/osmesa.c +++ b/src/mesa/drivers/osmesa/osmesa.c @@ -916,7 +916,6 @@ OSMesaMakeCurrent( OSMesaContext osmesa, void *buffer, GLenum type, * osmesa_renderbuffer_storage() function to get called. */ _mesa_resize_framebuffer(&osmesa->mesa, osmesa->gl_buffer, width, height); - osmesa->gl_buffer->Initialized = GL_TRUE; /* XXX TEMPORARY? */ _mesa_make_current( &osmesa->mesa, osmesa->gl_buffer, osmesa->gl_buffer ); |