mesa/marshal: fix glNamedBufferData with NULL data
authorGrigori Goronzy <greg@chown.ath.cx>
Sun, 9 Jul 2017 23:55:52 +0000 (01:55 +0200)
committerGrigori Goronzy <greg@chown.ath.cx>
Fri, 14 Jul 2017 19:20:31 +0000 (21:20 +0200)
commitcfbf60b0c21b105ad162a0a451cd2f65124efedc
tree201ea26ab663a5b458213c3964106a40c2ab35a1
parent1ad24faa116d9f8fab78ad3b81ff6a3625016e50
mesa/marshal: fix glNamedBufferData with NULL data

The semantics are similar to glBufferData.

Tested-by: Marc Dietrich <marvin24@gmx.de>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/main/marshal.c