summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texobj.c
diff options
context:
space:
mode:
authorTapani Pälli <[email protected]>2018-05-29 14:24:10 +0300
committerTapani Pälli <[email protected]>2018-05-31 09:24:17 +0300
commitc983c6abaf6fae767f404825e0fa913c75914279 (patch)
tree5a22483a6e46044df43cc5ac0d8e40fac747bf56 /src/mesa/main/texobj.c
parentd511bba2f92566c512c86c5f51bd756834cbd444 (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/texobj.c')
0 files changed, 0 insertions, 0 deletions