]> git.sesse.net Git - movit/blobdiff - demo.cpp
Move the GL_UNPACK_ALIGNMENT setting into the texture creation, so that clients won...
[movit] / demo.cpp
index 625dba6097d724c5a7fa6a3e66b72a32b46d1a0d..0cc3c48a4fedac0375ca12736be807d14cc3e752 100644 (file)
--- a/demo.cpp
+++ b/demo.cpp
@@ -154,7 +154,6 @@ int main(int argc, char **argv)
        SDL_WM_SetCaption("OpenGL window", NULL);
        
        // geez 
-       glPixelStorei(GL_UNPACK_ALIGNMENT, 1);
        glPixelStorei(GL_PACK_ALIGNMENT, 1);
 
        unsigned img_w, img_h;