increased OGL_TEXTURE_LIST_SIZE so the texture list doesn't get full
authorBradley Bell <btb@icculus.org>
Sun, 23 Mar 2003 22:52:06 +0000 (22:52 +0000)
committerBradley Bell <btb@icculus.org>
Sun, 23 Mar 2003 22:52:06 +0000 (22:52 +0000)
ChangeLog
include/ogl_init.h

index dade91e..1fb7ae8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2003-03-23  Bradley Bell  <btb@icculus.org>
 
+       * include/ogl_init.h: increased OGL_TEXTURE_LIST_SIZE so the
+       texture list doesn't get full
+
        * main/bm.c: fix mem leak when reading extra robots
 
 2003-03-21  Bradley Bell  <btb@icculus.org>
index f67c3f7..1ca6631 100644 (file)
@@ -37,8 +37,8 @@ int ogl_init_load_library(void);
 #include "palette.h"
 #include "pstypes.h"
 
-
-#define OGL_TEXTURE_LIST_SIZE 2000
+/* I assume this ought to be >= MAX_BITMAP_FILES in piggy.h? */
+#define OGL_TEXTURE_LIST_SIZE 3000
 
 typedef struct _ogl_texture {
        GLuint handle;