]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - ft2.c
fix a pile of issues with calling conventions on GLES2 platforms by
[xonotic/darkplaces.git] / ft2.c
diff --git a/ft2.c b/ft2.c
index 484a3159779ffe54c10eca6aa5204e25cebbd16a..269cb11780c5e94930ad91f23e455675d63810df 100644 (file)
--- a/ft2.c
+++ b/ft2.c
@@ -1546,8 +1546,10 @@ static qboolean Font_LoadMap(ft2_font_t *font, ft2_font_map_t *mapstart, Uchar _
                                data[x*4+2] = b;
                        }
                        Image_WriteTGABGRA(va("%s.tga", map_identifier), w, h, data);
+#ifndef USE_GLES2
                        if (r_font_compress.integer && qglGetCompressedTexImageARB && tex)
                                R_SaveTextureDDSFile(tex, va("dds/%s.dds", map_identifier), r_texture_dds_save.integer < 2, true);
+#endif
                }
        }