swr: fix windows build break
authorGeorge Kyriazis <george.kyriazis@intel.com>
Wed, 4 Jan 2017 19:13:36 +0000 (13:13 -0600)
committerTim Rowley <timothy.o.rowley@intel.com>
Thu, 5 Jan 2017 13:30:18 +0000 (07:30 -0600)
commit36ad8265489fc66ab45b9b74dafa353a93bdb03b
treeeb08acbe69bb63d80d8c2fd199962622856a9305
parent3753dc896dfe98b246ba8b030aab27a9928533af
swr: fix windows build break

wrap lp_bld_type.h around extern "C".
Windows decorates global variables, so when used from .cpp files, need
to use an undecorated version.

Also, removed related and unneeded code from swr_screen.cpp

Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/auxiliary/gallivm/lp_bld_type.h
src/gallium/drivers/swr/swr_screen.cpp