diff options
author | Jozef Behran <jozuejozef@gmail.com> | 2019-08-10 23:32:47 +0200 |
---|---|---|
committer | SmallJoker <SmallJoker@users.noreply.github.com> | 2019-08-10 23:32:46 +0200 |
commit | 49f100618350e81d98410a874ce30b5c30b32927 (patch) | |
tree | 5fefc8152631ba7fb98d4038fa2aeb5f8586f49b /games | |
parent | 120155f312cb1977b9a325acc7c7679103eb3800 (diff) | |
download | minetest-49f100618350e81d98410a874ce30b5c30b32927.tar.gz minetest-49f100618350e81d98410a874ce30b5c30b32927.tar.bz2 minetest-49f100618350e81d98410a874ce30b5c30b32927.zip |
Fix breakage of non-GLES2 setups (#8774)
The commit 526a9e4b66abaf83eb6b1aaa3e93375acd87b830 breaks
the non-GLES2 setups because the code that is intended to
handle that is behind "elseif()" which is interpreted as
"elseif(false)" and thus the code never gets executed. Fix
that by changing the offending line to else().
Additionally, to avoid breaking the server only build
(which shall not have a dependency on GL/GLU/GLES at all),
enclose the entire block code in if(BUILD_CLIENT).
Diffstat (limited to 'games')
0 files changed, 0 insertions, 0 deletions