[client] add a MPV glsl style effect loader

This commit is contained in:
Geoffrey McRae
2026-07-18 08:41:38 +10:00
parent 215f7cb096
commit 78802319e3
22 changed files with 1494 additions and 45 deletions

View File

@@ -215,6 +215,12 @@ enum EGL_TexStatus egl_textureBind(EGL_Texture * this)
enum EGL_TexStatus egl_textureBindWithSampler(EGL_Texture * this,
GLuint sampler)
{
egl_stateBindSampler(0, sampler);
return this->ops.bind(this);
return egl_textureBindUnitWithSampler(this, 0, sampler);
}
enum EGL_TexStatus egl_textureBindUnitWithSampler(EGL_Texture * this,
GLuint unit, GLuint sampler)
{
egl_stateBindSampler(unit, sampler);
return this->ops.bind(this, unit);
}