diff --git a/basegraph.cpp b/basegraph.cpp index e8fdb970..bb349394 100644 --- a/basegraph.cpp +++ b/basegraph.cpp @@ -402,6 +402,10 @@ void init_glfont(int size) { SDL_Color white; white.r = white.g = white.b = 255; #endif + +#if CAP_TABFONT + resetTabFont(); +#endif // glListBase(0); @@ -436,7 +440,6 @@ void init_glfont(int size) { glTexParameteri(GL_TEXTURE_2D,GL_TEXTURE_MAG_FILTER,GL_LINEAR); glTexParameteri(GL_TEXTURE_2D,GL_TEXTURE_MIN_FILTER,GL_LINEAR); - printf("for size %d, texture height is %d\n", size, cury + theight); theight = next_p2(cury + theight); glTexImage2D( GL_TEXTURE_2D, 0, GL_RGBA, FONTTEXTURESIZE, theight, 0, diff --git a/rogueviz.cpp b/rogueviz.cpp index e03588a7..d5023d42 100644 --- a/rogueviz.cpp +++ b/rogueviz.cpp @@ -1126,7 +1126,9 @@ bool drawVertex(const transmatrix &V, cell *c, shmup::monster *m) { } if(hilite || hiliteclick) alpha = (alpha + 256) / 2; - if(svg::in && alpha < 16) continue; + if((svg::in || ISWEB) && alpha < 16) continue; + + if(ISWEB) alpha |= 15; transmatrix gm1 = multidraw ? V * memo_relative_matrix(vd1.m->base, c) :