OSDN Git Service

ilo: simplify ilo_texture_set_slice_flags()
authorChia-I Wu <olvaffe@gmail.com>
Fri, 10 Jan 2014 05:50:52 +0000 (13:50 +0800)
committerChia-I Wu <olvaffe@gmail.com>
Tue, 14 Jan 2014 07:19:41 +0000 (15:19 +0800)
commitaf57378e599c00711bf1109fb84e6032668ecaa4
tree610328bf4be70f32915173daf71f5557cac4782d
parent8f9b70fa3c41418bc2b28551642ea786ed0c2e79
ilo: simplify ilo_texture_set_slice_flags()

Call ilo_texture_get_slice() for the last slice so that we can get rid of the
duplicated assert().
src/gallium/drivers/ilo/ilo_resource.h