added code for overlay touch buttons (currently not used)
[rocksndiamonds.git] / src / init.c
index a022f3944ab4858500e60a9021175b0935ae3dc7..409858ca45e0c4e670534c8ecaa01076e719009a 100644 (file)
@@ -275,6 +275,10 @@ static void InitBitmapPointers(void)
 
 void InitImageTextures(void)
 {
+  static int texture_graphics[] =
+  {
+    -1
+  };
   int i, j, k;
 
   FreeAllImageTextures();
@@ -300,6 +304,9 @@ void InitImageTextures(void)
       }
     }
   }
+
+  for (i = 0; texture_graphics[i] > -1; i++)
+    CreateImageTextures(texture_graphics[i]);
 }
 
 #if 1