diff options
author | Ilia Mirkin <[email protected]> | 2016-05-22 16:09:53 -0400 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2016-05-23 20:00:39 -0400 |
commit | 2e8e1e89090ddfc95ae3b732b7b810d68c3217e5 (patch) | |
tree | 2f4e9d097c88f4e834b0985ca1d03514bba2bb77 /Android.common.mk | |
parent | 1e99a46b446522dbb12634139c2f2060d5dabf94 (diff) |
main: check driver float texture support before upgrading to 16F/32F
When passing in GL_RGBA or other base formats, we will try to upgrade
the format to whatever the passed in type was. However not all drivers
(notably nv30) support 32F textures, and so this would lead to crashes
down the line. Only upgrade when the relevant extensions are available.
Signed-off-by: Ilia Mirkin <[email protected]>
Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'Android.common.mk')
0 files changed, 0 insertions, 0 deletions