[client] egl: set a default scale for textures without filters

This commit is contained in:
Geoffrey McRae
2021-08-09 18:24:33 +10:00
parent 6882e5c59f
commit 57a74c156b
3 changed files with 16 additions and 0 deletions

View File

@@ -88,6 +88,7 @@ bool egl_textureInit(EGL * egl, EGL_Texture ** texture_,
glSamplerParameteri(this->sampler, GL_TEXTURE_WRAP_T , GL_CLAMP_TO_EDGE);
this->textures = ringbuffer_new(8, sizeof(GLuint));
this->scale = 1.0f;
return true;
}