From 9b4957aa17d9658085486d8971d926c56fdb3c8e Mon Sep 17 00:00:00 2001 From: hendricks266 Date: Mon, 2 May 2016 18:29:28 +0000 Subject: [PATCH] Models: This seems like a bugfix. git-svn-id: https://svn.eduke32.com/eduke32@5703 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/build/src/mdsprite.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/polymer/eduke32/build/src/mdsprite.c b/polymer/eduke32/build/src/mdsprite.c index a5c6d0b00..ce395da5c 100644 --- a/polymer/eduke32/build/src/mdsprite.c +++ b/polymer/eduke32/build/src/mdsprite.c @@ -903,7 +903,7 @@ int32_t mdloadskin(md2model_t *m, int32_t number, int32_t pal, int32_t surf) int32_t const texfmt = glinfo.bgra ? GL_BGRA : GL_RGBA; - uploadtexture((doalloc&1), siz, texfmt, pic, siz, + uploadtexture((doalloc&1), siz, texfmt, pic, tsiz, DAMETH_HI | DAMETH_MASK | TO_DAMETH_NODOWNSIZE(sk->flags) | TO_DAMETH_NOTEXCOMPRESS(sk->flags) |