aboutsummaryrefslogtreecommitdiff
path: root/engines/agos/midi.cpp
diff options
context:
space:
mode:
authorBastien Bouclet2017-08-04 10:25:22 +0200
committerBastien Bouclet2017-08-05 08:36:32 +0200
commit8e4697946e4bb1cbb42897f9b052ec040be5dd06 (patch)
tree5dfb65afc3d4819f1c4de7807bdf9e91e8e86ad8 /engines/agos/midi.cpp
parentd6de8e52c3e6b8d53608e08eb3dec31a4dd6b172 (diff)
downloadscummvm-rg350-8e4697946e4bb1cbb42897f9b052ec040be5dd06.tar.gz
scummvm-rg350-8e4697946e4bb1cbb42897f9b052ec040be5dd06.tar.bz2
scummvm-rg350-8e4697946e4bb1cbb42897f9b052ec040be5dd06.zip
OPENGL: Always clear the whole backbuffer
Previously we were clearing the whole backbuffer for 3 frames after a window size change, and then only clearing the game area. This assumes the OpenGL driver uses at most 3 render buffer and uses them in sequential order. This does not seem to be the case on Linux when using an Intel integrated GPU. Instead we now clear the whole backbuffer on each frame to make sure there are no leftovers remaining on the screen. All semi-recent GPUs should have hardware clear anyway so this should not impact negatively performance. Possibly fixes #10025.
Diffstat (limited to 'engines/agos/midi.cpp')
0 files changed, 0 insertions, 0 deletions