diff options
author | Tapani Pälli <[email protected]> | 2018-05-29 14:24:10 +0300 |
---|---|---|
committer | Tapani Pälli <[email protected]> | 2018-05-31 09:24:17 +0300 |
commit | c983c6abaf6fae767f404825e0fa913c75914279 (patch) | |
tree | 5a22483a6e46044df43cc5ac0d8e40fac747bf56 /src/mesa/main/glformats.c | |
parent | d511bba2f92566c512c86c5f51bd756834cbd444 (diff) |
mesa: don't call Driver.TexEnv with invalid arguments
Patch skips useless and possibly dangerous calls down to the driver
in case invalid arguments were given. I noticed this would be happening
with demo of Darwinia game. AFAIK this does not fix anything but makes
this path safer and more like how other API functions are implemented.
Signed-off-by: Tapani Pälli <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mesa/main/glformats.c')
0 files changed, 0 insertions, 0 deletions