Ver Fonte

Increase number of image loaders (why was it this low..), fixes #19037

Juan Linietsky há 7 anos atrás
pai
commit
60cbb69c7c
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      core/io/image_loader.h

+ 1 - 1
core/io/image_loader.h

@@ -71,7 +71,7 @@ public:
 class ImageLoader {
 class ImageLoader {
 
 
 	enum {
 	enum {
-		MAX_LOADERS = 8
+		MAX_LOADERS = 32
 	};
 	};
 	friend class ResourceFormatLoaderImage;
 	friend class ResourceFormatLoaderImage;
 	static ImageFormatLoader *loader[MAX_LOADERS];
 	static ImageFormatLoader *loader[MAX_LOADERS];