diff --git a/code/renderergl1/tr_init.c b/code/renderergl1/tr_init.c index 1e79886be..7f73da205 100644 --- a/code/renderergl1/tr_init.c +++ b/code/renderergl1/tr_init.c @@ -488,7 +488,7 @@ static void R_LevelShot(screenshotType_e type, const char *ext) { size_t offset = 0, memcount; int spadlen, rpadlen; int padwidth, linelen; - GLint packAlign = 0; + GLint packAlign = 1; byte *src, *dst; int x, y; int r, g, b; diff --git a/code/renderergl2/tr_init.c b/code/renderergl2/tr_init.c index 87644d8e7..96cb93111 100644 --- a/code/renderergl2/tr_init.c +++ b/code/renderergl2/tr_init.c @@ -577,7 +577,7 @@ static void R_LevelShot(screenshotType_e type, const char *ext) { size_t offset = 0, memcount; int spadlen, rpadlen; int padwidth, linelen; - GLint packAlign = 0; + GLint packAlign = 1; byte *src, *dst; int x, y; int r, g, b;