added more initwarning checks

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1972 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2008-05-14 21:51:43 +00:00
parent a550830379
commit 85fd0b8563
4 changed files with 45 additions and 25 deletions
+3 -3
View File
@@ -7,9 +7,9 @@ Texture *notexture = NULL;
hashtable<char *, Texture> textures;
VAR(hwtexsize, 1, 0, 0);
VARP(maxtexsize, 0, 0, 4096);
VARP(trilinear, 0, 1, 1);
VARP(bilinear, 0, 1, 1);
VARFP(maxtexsize, 0, 0, 1<<12, initwarning("texture quality", INIT_LOAD));
VARFP(trilinear, 0, 1, 1, initwarning("texture filtering", INIT_LOAD));
VARFP(bilinear, 0, 1, 1, initwarning("texture filtering", INIT_LOAD));
void createtexture(int tnum, int w, int h, void *pixels, int clamp, bool mipmap, GLenum format)
{