Set the pixel unpack alignment to 1.

4 hours chasing that one down. ouch.
This commit is contained in:
Bill Currie 2012-01-09 02:18:39 +09:00
parent 8779755e9c
commit cd91fe7c8d

View file

@ -141,6 +141,8 @@ GL_Init_Common (void)
qfglClearColor (0, 0, 0, 0);
qfglPixelStorei (GL_UNPACK_ALIGNMENT, 1);
qfglEnable (GL_TEXTURE_2D);
qfglFrontFace (GL_CW);
qfglCullFace (GL_BACK);