twn_gl_15_rendering.c: fix endlessly generating display lists

This commit is contained in:
veclav talica 2024-10-01 18:38:54 +03:00
parent 900a0a7506
commit b75ff20014

View File

@ -201,7 +201,7 @@ void render_circle(const CirclePrimitive *circle) {
void use_texture_mode(TextureMode mode) { void use_texture_mode(TextureMode mode) {
GLuint lists = 0; static GLuint lists = 0;
if (!lists) { if (!lists) {
lists = glGenLists(3); lists = glGenLists(3);