st/mesa: s/unsigned/enum tgsi_semantic/ st_cb_drawpixels.c
authorBrian Paul <brianp@vmware.com>
Wed, 7 Feb 2018 23:12:59 +0000 (16:12 -0700)
committerBrian Paul <brianp@vmware.com>
Thu, 8 Feb 2018 16:49:03 +0000 (09:49 -0700)
Reviewed-by: Mathias Fröhlich <mathias.froehlich@web.de>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/mesa/state_tracker/st_cb_drawpixels.c

index 44f5b235c83ba0d786418a9b66a8cad4ca04797a..ddf69263328306960f3a616d7bd5c7645ad2d1ba 100644 (file)
@@ -196,7 +196,7 @@ static void *
 make_passthrough_vertex_shader(struct st_context *st, 
                                GLboolean passColor)
 {
-   const unsigned texcoord_semantic = st->needs_texcoord_semantic ?
+   const enum tgsi_semantic texcoord_semantic = st->needs_texcoord_semantic ?
       TGSI_SEMANTIC_TEXCOORD : TGSI_SEMANTIC_GENERIC;
 
    if (!st->drawpix.vert_shaders[passColor]) {