-
glBindTexture() changes global state, so if anything else uses OpenGL textures, it also corrupts RetroGLDisplay state. Calling it every time in retro_gl_display_load_texture() ensures that we're always working with the right texture.
64ad03ab
glBindTexture() changes global state, so if anything else uses OpenGL textures, it also corrupts RetroGLDisplay state. Calling it every time in retro_gl_display_load_texture() ensures that we're always working with the right texture.