mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-17 01:11:45 +00:00
Set the pixel unpack alignment to 1.
4 hours chasing that one down. ouch.
This commit is contained in:
parent
8779755e9c
commit
cd91fe7c8d
1 changed files with 2 additions and 0 deletions
|
@ -141,6 +141,8 @@ GL_Init_Common (void)
|
||||||
|
|
||||||
qfglClearColor (0, 0, 0, 0);
|
qfglClearColor (0, 0, 0, 0);
|
||||||
|
|
||||||
|
qfglPixelStorei (GL_UNPACK_ALIGNMENT, 1);
|
||||||
|
|
||||||
qfglEnable (GL_TEXTURE_2D);
|
qfglEnable (GL_TEXTURE_2D);
|
||||||
qfglFrontFace (GL_CW);
|
qfglFrontFace (GL_CW);
|
||||||
qfglCullFace (GL_BACK);
|
qfglCullFace (GL_BACK);
|
||||||
|
|
Loading…
Reference in a new issue