mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
MSVC build fix
git-svn-id: https://svn.eduke32.com/eduke32@3730 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
6dac6ac1c0
commit
5b672a19e3
1 changed files with 2 additions and 1 deletions
|
@ -4507,7 +4507,7 @@ static void polymer_getbuildmaterial(_prmaterial* material, int16_t tile
|
|||
if (pr_artmapping) {
|
||||
if (!prartmaps[tilenum]) {
|
||||
char *tilebuffer = (char *)waloff[tilenum];
|
||||
char tempbuffer[tilesizx[tilenum] * tilesizy[tilenum]];
|
||||
char *tempbuffer = (char *)Bmalloc(tilesizx[tilenum] * tilesizy[tilenum]);
|
||||
int i, j, k;
|
||||
|
||||
i = k = 0;
|
||||
|
@ -4537,6 +4537,7 @@ static void polymer_getbuildmaterial(_prmaterial* material, int16_t tile
|
|||
bglTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_REPEAT);
|
||||
bglTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_REPEAT);
|
||||
bglBindTexture(GL_TEXTURE_2D, 0);
|
||||
Bfree(tempbuffer);
|
||||
}
|
||||
|
||||
if (!prbasepalmaps[curbasepal]) {
|
||||
|
|
Loading…
Reference in a new issue