Subversion Repositories eduke32

Compare Revisions

Ignore whitespace Rev 5073 → Rev 5074

/polymer/eduke32/source/animvpx.c
507,6 → 507,7
{
bglTexImage2D(GL_TEXTURE_2D, 0, fmt, codec->width,codec->height,
0, fmt, GL_UNSIGNED_BYTE, codec->pic);
if (bglGetError() != GL_NO_ERROR) return 1;
texuploaded = 1;
}
else
513,6 → 514,7
{
bglTexSubImage2D(GL_TEXTURE_2D, 0, 0,0, codec->width,codec->height,
fmt, GL_UNSIGNED_BYTE, codec->pic);
if (bglGetError() != GL_NO_ERROR) return 1;
}
 
float vid_wbyh = ((float)codec->width)/codec->height;