OSDN Git Service

st/mesa: fix struct vs. class compilation warning
authorBrian Paul <brianp@vmware.com>
Thu, 12 Jan 2012 15:28:20 +0000 (08:28 -0700)
committerBrian Paul <brianp@vmware.com>
Fri, 13 Jan 2012 17:13:58 +0000 (10:13 -0700)
commit89a1e7caf486b089b8c2790fc8e61debebbe7590
tree7c3862b4d1779603adc2112f8a2bf96f5dda8abf
parentad77e2fb78dfb6abf8966524346800b389052df4
st/mesa: fix struct vs. class compilation warning

glsl_to_tgsi_visitor is earlier defined as a class, not a struct.
Fixes MSVC warning.

NOTE: This is a candidate for the 8.0 branch.
(cherry picked from commit 9f2963b631cb2a2899fcb0eb384895fd33f9821d)
src/mesa/state_tracker/st_glsl_to_tgsi.cpp