diff options
author | Bastien Bouclet | 2017-05-07 18:08:03 +0200 |
---|---|---|
committer | Bastien Bouclet | 2017-05-08 06:50:30 +0200 |
commit | 23abcffbc5bc2f3e74d4725af1d292db0421054b (patch) | |
tree | f5e6126b31969a0435dadeae6288b674e05811ff /image | |
parent | a795c450bb1f712abb9e8451beeb086024df2eb7 (diff) | |
download | scummvm-rg350-23abcffbc5bc2f3e74d4725af1d292db0421054b.tar.gz scummvm-rg350-23abcffbc5bc2f3e74d4725af1d292db0421054b.tar.bz2 scummvm-rg350-23abcffbc5bc2f3e74d4725af1d292db0421054b.zip |
OPENGL: Don't update the cursor's texture when the cursor is invisible
Updating the cursor's texture is not necessary if it is not going to be drawn.
Fixes glDrawArrays sometimes failing due to using a framebuffer with an
incomplete color attachment. In SCI32 games, the framebuffer is incomplete
because the engine does not define pixel data for the cursor.
Diffstat (limited to 'image')
0 files changed, 0 insertions, 0 deletions