mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-01-07 04:19:02 +00:00
fixes to make the Emscripten web version compile correctly
This commit is contained in:
@@ -362,7 +362,11 @@ void init_glfont(int size) {
|
||||
#endif
|
||||
|
||||
// glListBase(0);
|
||||
|
||||
|
||||
#if CAP_TABFONT
|
||||
resetTabFont();
|
||||
#endif
|
||||
|
||||
for(int ch=1;ch<128+NUMEXTRA;ch++) {
|
||||
|
||||
if(ch<32) continue;
|
||||
@@ -388,6 +392,12 @@ void init_glfont(int size) {
|
||||
#endif
|
||||
}
|
||||
|
||||
#if CAP_CREATEFONT
|
||||
printf("#define NUMEXTRA %d\n", NUMEXTRA);
|
||||
#define DEMACRO(x) #x
|
||||
printf("#define NATCHARS " DEMACRO(NATCHARS) "\n");
|
||||
#endif
|
||||
|
||||
//printf("init size=%d ok\n", size);
|
||||
GLERR("initfont");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user