summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_cb_drawpixels.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2018-02-07 16:12:59 -0700
committerBrian Paul <[email protected]>2018-02-08 09:49:03 -0700
commite55de6e20cb8854be0af8afd50eea12f84ff9d49 (patch)
tree90d9a06f88c5e5c0f0af98f725769fa10f751548 /src/mesa/state_tracker/st_cb_drawpixels.c
parentb9ff185e41e2d310f70182fca06a9140a79e07ad (diff)
st/mesa: s/unsigned/enum tgsi_semantic/ st_cb_drawpixels.c
Reviewed-by: Mathias Fröhlich <[email protected]> Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_cb_drawpixels.c')
-rw-r--r--src/mesa/state_tracker/st_cb_drawpixels.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_cb_drawpixels.c b/src/mesa/state_tracker/st_cb_drawpixels.c
index 44f5b235c83..ddf69263328 100644
--- a/src/mesa/state_tracker/st_cb_drawpixels.c
+++ b/src/mesa/state_tracker/st_cb_drawpixels.c
@@ -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]) {