mesa: fix using texture id 0 with glTextureStorage*()
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 21 Jun 2017 07:56:55 +0000 (09:56 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 22 Jun 2017 08:41:19 +0000 (10:41 +0200)
commit51a7e0d14f1d1e61f407685d43e248d68340fbb4
treec590b7860e4e658ddbdc5ec0c1f1ea778acb5bca
parent1f38363e687b154a43819034a95e5a6c4ff65707
mesa: fix using texture id 0 with glTextureStorage*()

This fixes an assertion in debug build, and probably a crash
in release build.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
src/mesa/main/texstorage.c