aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/screen_v2.h
diff options
context:
space:
mode:
authorJohannes Schickel2011-02-24 05:11:00 +0100
committerJohannes Schickel2011-02-24 05:11:00 +0100
commitf5e10f33f59dd21c82768dd12dd13cc9e021c760 (patch)
tree43262275d6c07e48aa0cce4ba0c1547bcf1423c2 /engines/kyra/screen_v2.h
parente04d983f683871d455394fcbf50e2f964aaad365 (diff)
downloadscummvm-rg350-f5e10f33f59dd21c82768dd12dd13cc9e021c760.tar.gz
scummvm-rg350-f5e10f33f59dd21c82768dd12dd13cc9e021c760.tar.bz2
scummvm-rg350-f5e10f33f59dd21c82768dd12dd13cc9e021c760.zip
OPENGL: Properly setup pixel data alignment.
If we do not do this, we might end up with a default alignment of 4, which will fail (as in the graphics will be messed up) in case the screen resolution is not divisible by 4. Thanks to digitall for noticing this problem and finding out about GL_UNPACK_ALIGNMENT.
Diffstat (limited to 'engines/kyra/screen_v2.h')
0 files changed, 0 insertions, 0 deletions