diff options
Diffstat (limited to 'source/blender/gpu/intern/gpu_state.c')
-rw-r--r-- | source/blender/gpu/intern/gpu_state.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/gpu/intern/gpu_state.c b/source/blender/gpu/intern/gpu_state.c index 636a5e2c31d..b52504eb492 100644 --- a/source/blender/gpu/intern/gpu_state.c +++ b/source/blender/gpu/intern/gpu_state.c @@ -412,6 +412,8 @@ void GPU_state_init(void) glCullFace(GL_BACK); glDisable(GL_CULL_FACE); + glPixelStorei(GL_UNPACK_ALIGNMENT, 1); + /* Is default but better be explicit. */ glEnable(GL_MULTISAMPLE); |