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

This commit is contained in:
Geoffrey McRae 2021-08-09 18:27:10 +10:00
parent 79dcc6d4f1
commit 04a54598b3

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;
}