OSDN Git Service

mesa: Remove the Initialized field from framebuffers.
authorEric Anholt <eric@anholt.net>
Thu, 20 Jun 2013 16:41:10 +0000 (09:41 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 26 Jun 2013 02:19:20 +0000 (19:19 -0700)
commitd7165b383da018ff666f789d555093fa3164dc73
tree50cb0795a1cf010e8bf46346cb6f8a60b5780aa7
parentbab755ad1b8cc5560c7d92e21b1fb1c3bebd43ae
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 <brianp@vmware.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/intel/intel_fbo.c
src/mesa/drivers/dri/radeon/radeon_common.c
src/mesa/drivers/dri/radeon/radeon_fbo.c
src/mesa/drivers/osmesa/osmesa.c
src/mesa/drivers/x11/xm_api.c
src/mesa/main/mtypes.h
src/mesa/state_tracker/st_manager.c