summaryrefslogtreecommitdiffstats
path: root/src/newt/native/ScreenMode.h
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2014-09-09 19:58:47 +0200
committerSven Gothel <[email protected]>2014-09-09 19:58:47 +0200
commit73a4d809f92126228b64a3bded75686db806be64 (patch)
tree10ea0fdaece268542010363e097ef62ae988f439 /src/newt/native/ScreenMode.h
parent1bdc495c19d3c8798a56d8476247084f0c870b48 (diff)
Don't utilize glPixelStorei's PACK/UNPACK IMAGE_HEIGHT and SKIP_IMAGES for Desktop GL < 1.2, avoiding GL-Error
Commit fc1e98790a02b4fa7922f3cdd9d437f87d7c99e5 added handling of PACK/UNPACK IMAGE_HEIGHT and SKIP_IMAGES in GLPixelStorageModes. However, it has been overseen that the four states are not available in OpenGL 1.1. Adding exclusion of the same if desktop GL < 1.2 and hence avoiding GL errors. Same applies to GLBuffers.sizeof(..) method.
Diffstat (limited to 'src/newt/native/ScreenMode.h')
0 files changed, 0 insertions, 0 deletions