]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - r_sprites.c
freetype: "loadfont" now uses virtual pixels, not real pixels, for font sizes, to...
[xonotic/darkplaces.git] / r_sprites.c
index 75535e303ad2097932c46ab682fab5860cb34417..654d1b630045cacf992e4fe2f862ba25e4616483 100644 (file)
@@ -380,7 +380,7 @@ void R_Model_Sprite_Draw_TransparentCallback(const entity_render_t *ent, const r
 
                        R_CalcSprite_Vertex3f(vertex3f, org, left, up, frame->left, frame->right, frame->down, frame->up);
 
-                       R_DrawCustomSurface(texture->currentskinframe, &identitymatrix, texture->currentmaterialflags, 0, 4, 0, 2, false, false);
+                       R_DrawCustomSurface_Texture(texture, &identitymatrix, texture->currentmaterialflags, 0, 4, 0, 2, false, false);
                }
        }