OSDN Git Service

st/mesa: Fix texture-from-pixmap.
authorChia-I Wu <olv@lunarg.com>
Wed, 5 May 2010 03:32:33 +0000 (11:32 +0800)
committerChia-I Wu <olv@lunarg.com>
Wed, 5 May 2010 03:58:04 +0000 (11:58 +0800)
commit719f7049bb2c7f5ca886055c9cd15b2805bd8e97
treeb3860900e8a59d6e50bb98edb2b4849bb182eeef
parenta6ec153830ea25958f8cb5f5b5ae7a3433d61bbc
st/mesa: Fix texture-from-pixmap.

Remember the size of the level=0 mipmap image.  Do not call
util_format_get_component_bits when st_context_teximage is called to
release a texture image.
src/mesa/state_tracker/st_cb_eglimage.c
src/mesa/state_tracker/st_manager.c