- some missed parts.

This commit is contained in:
Christoph Oelckers 2019-09-16 21:27:07 +02:00
parent 6536d910b3
commit 0359602159
5 changed files with 5 additions and 11 deletions

View file

@ -463,7 +463,7 @@ void animvpx_setup_glstate(int32_t animvpx_flags)
#ifdef USE_GLEXT
glActiveTexture(GL_TEXTURE0);
#endif
glGenTextures(1, &texname);
GetTextureHandle(&texname);
glBindTexture(GL_TEXTURE_2D, texname);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, glinfo.clamptoedge?GL_CLAMP_TO_EDGE:GL_CLAMP);