gallium/draw: Fix enum type taken by draw_get_shader_param().
authorMichel Dänzer <daenzer@vmware.com>
Tue, 3 May 2011 11:23:14 +0000 (13:23 +0200)
committerMichel Dänzer <daenzer@vmware.com>
Tue, 3 May 2011 14:33:15 +0000 (16:33 +0200)
commit5829332a9b814c5922f45b570c83565f8d35752d
treec5ef4940fd1e77e2caa947587ca6c68e19fc30c6
parent5ba2e7adf01aaa855e36a577a47de8f4ddace99c
gallium/draw: Fix enum type taken by draw_get_shader_param().

Pointed out by clang:

src/gallium/auxiliary/draw/draw_context.h:251:41: warning: implicit conversion
from enumeration type 'enum pipe_cap' to different enumeration type
'enum pipe_shader_cap' [-Wconversion]
      return tgsi_exec_get_shader_param(param);
             ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~
src/gallium/auxiliary/draw/draw_context.h