mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-03-10 15:19:43 +00:00
some fixes
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user