summaryrefslogtreecommitdiff
path: root/src/flstring.h
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2019-04-10 17:02:04 +0200
committerAlbrecht Schlosser <albrechts.fltk@online.de>2019-04-10 17:02:04 +0200
commit3bbc453237d8c303daeb5b255756f29edd01010d (patch)
tree55ce1308fa215b74cd0100a92aee452dd3010594 /src/flstring.h
parentcb7dbc34d73cdb8e305d62c19e9b0164c13727e4 (diff)
Save and restore GL parameters as appropriate
According to the docs "glPixelStorei sets pixel storage modes that affect the operation of subsequent glReadPixels as well as the unpacking of texture patterns (see glTexImage2D and glTexSubImage2D)." Hence we (a) must be aware that current values of these modes can be anything set by user or FLTK code before (b) should be polite and restore these modes to previous values See discussion in fltk.coredev, thread "gl_draw problem" started on Apr 05, 2019.
Diffstat (limited to 'src/flstring.h')
0 files changed, 0 insertions, 0 deletions