mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-24 20:51:35 +00:00
[vulkan] Rename alias_sampler to qskin_sampler
It's shared by both alias and iqm models.
This commit is contained in:
parent
6f04c555a4
commit
999f878b76
3 changed files with 3 additions and 3 deletions
|
@ -67,7 +67,7 @@ samplers = {
|
||||||
borderColor = float_transparent_black;
|
borderColor = float_transparent_black;
|
||||||
unnormalizedCoordinates = false;
|
unnormalizedCoordinates = false;
|
||||||
};
|
};
|
||||||
alias_sampler = {
|
qskin_sampler = {
|
||||||
magFilter = linear;
|
magFilter = linear;
|
||||||
minFilter = linear;
|
minFilter = linear;
|
||||||
mipmapMode = linear;
|
mipmapMode = linear;
|
||||||
|
|
|
@ -376,7 +376,7 @@ alias_startup (exprctx_t *ectx)
|
||||||
auto taskctx = (qfv_taskctx_t *) ectx;
|
auto taskctx = (qfv_taskctx_t *) ectx;
|
||||||
auto ctx = taskctx->ctx;
|
auto ctx = taskctx->ctx;
|
||||||
auto actx = ctx->alias_context;
|
auto actx = ctx->alias_context;
|
||||||
actx->sampler = QFV_Render_Sampler (ctx, "alias_sampler");
|
actx->sampler = QFV_Render_Sampler (ctx, "qskin_sampler");
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
|
@ -441,7 +441,7 @@ iqm_startup (exprctx_t *ectx)
|
||||||
DARRAY_INIT (&ictx->frames, frames);
|
DARRAY_INIT (&ictx->frames, frames);
|
||||||
DARRAY_RESIZE (&ictx->frames, frames);
|
DARRAY_RESIZE (&ictx->frames, frames);
|
||||||
ictx->frames.grow = 0;
|
ictx->frames.grow = 0;
|
||||||
ictx->sampler = QFV_Render_Sampler (ctx, "alias_sampler");
|
ictx->sampler = QFV_Render_Sampler (ctx, "qskin_sampler");
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in a new issue